view _test/Resources/types.xml @ 125:a4b0a819bbda

Small fixes in IMPL::DOM::Schema
author wizard
date Thu, 10 Jun 2010 17:43:51 +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>