view _test/Resources/types.xml @ 105:a6e9759ff88a

Fixed a validation errors parameters
author wizard
date Tue, 11 May 2010 02:59:49 +0400
parents c289ed9662ca
children d1676be8afcc
line wrap: on
line source

<schema>
	<SimpleType type="email">
		<RegExp message="Неверный формат %Node.name_no%">^\w+(\.\w+)*@$\w+(\.\w+)+</RegExp>
	</SimpleType>
	<SimpleType type="scalar"/>
	<SimpleType type="date" inflate="DateTime">
		<Property name="timezone" optional="1"/>
		<Property name="locale" optional="1"/>
	</SimpleType>
</schema>