view _test/Resources/types.xml @ 233:3cebcf6fdb9b

refactoring, cleaning code
author sergey
date Thu, 11 Oct 2012 04:53:08 +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>