view _test/Resources/types.xml @ 128:08753833173d

Fixed a error handling issue in JSON output: errors are correctly transfered A complete documentation for a IMPL::Web::Application::ControllerUnit
author wizard
date Tue, 15 Jun 2010 02:41:07 +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>