view _test/Resources/types.xml @ 215:77a9934a44af

sync, migrating to XML::Compile
author cin
date Sun, 19 Aug 2012 22:27:43 +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>