view _test/Resources/types.xml @ 389:5aff94ba842f

DOM Schema refactoring complete
author cin
date Wed, 12 Feb 2014 13:36:24 +0400
parents d1676be8afcc
children
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>