annotate _test/Resources/types.xml @ 103:c289ed9662ca

Schema beta 2 More strict validation, support for inflating a simple nodes and properties
author wizard
date Fri, 07 May 2010 18:17:40 +0400
parents cf3b6ef2be22
children d1676be8afcc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
99
6dd659f6f66c Minor changes, DOM schema is in development (in the aspect of a forms)
wizard
parents:
diff changeset
1 <schema>
103
c289ed9662ca Schema beta 2
wizard
parents: 102
diff changeset
2 <SimpleType type="email">
100
df6b4f054957 Schema in progress
wizard
parents: 99
diff changeset
3 <RegExp message="Неверный формат %Node.name_no%">^\w+(\.\w+)*@$\w+(\.\w+)+</RegExp>
df6b4f054957 Schema in progress
wizard
parents: 99
diff changeset
4 </SimpleType>
103
c289ed9662ca Schema beta 2
wizard
parents: 102
diff changeset
5 <SimpleType type="scalar"/>
c289ed9662ca Schema beta 2
wizard
parents: 102
diff changeset
6 <SimpleType type="date" inflate="DateTime">
101
d8dc6cad3f55 Schema in progress
wizard
parents: 100
diff changeset
7 <Property name="timezone" optional="1"/>
d8dc6cad3f55 Schema in progress
wizard
parents: 100
diff changeset
8 <Property name="locale" optional="1"/>
d8dc6cad3f55 Schema in progress
wizard
parents: 100
diff changeset
9 </SimpleType>
99
6dd659f6f66c Minor changes, DOM schema is in development (in the aspect of a forms)
wizard
parents:
diff changeset
10 </schema>