Mercurial > pub > Impl
view _test/Resources/types.xml @ 104:196bf443b5e1
DOM::Schema RC0 inflators support, validation and some other things,
Minor and major fixes almost for everything.
A 'Source' property of the ValidationErrors generated from a NodeSet or a NodeList is subject to change in the future.
author | wizard |
---|---|
date | Tue, 11 May 2010 02:42:59 +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>