annotate _test/Resources/test.schema @ 216:e9fd7ff3f54c

sync
author sergey
date Thu, 09 Aug 2012 17:24:07 +0400
parents d1676be8afcc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
2 <schema>
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 49
diff changeset
3 <!-- Директивы -->
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 49
diff changeset
4 <!-- Загрузка фрагмента схемы -->
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
5 <Include src="basic.types.schema"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
6
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 49
diff changeset
7 <!-- Определения типов -->
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
8 <SimpleType type="DateTime">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
9 <Regexp>\d{4}-\d{2}-\d{2}((T|\s)\d{2}\:\d{2}:\d{2})?</Regexp>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
10 </SimpleType>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
11 <ComplexType type="Person">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
12 <NodeSet>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
13 <SimpleNode nodeName="FirstName"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
14 <SimpleNode nodeName="LastName"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
15 <ComplexNode maxOccur="unbounded" nodeName="Passport" type="Passport">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
16 <Node nodeName="DateExpire" type="DateTime"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
17 <SimpleNode nodeName="Code"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
18 </ComplexNode>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
19 </NodeSet>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
20 </ComplexType>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
21
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 49
diff changeset
22 <!-- Содержимое возможные варианты для документов-->
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
23 <ComplexNode nodeName="Form">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
24 <NodeSet>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
25 <SimpleNode nodeName="FirstName">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
26 <Regexp>\w+</Regexp>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
27 </SimpleNode>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
28 <SimpleNode nodeName="LastName">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
29 <Regexp>\w+</Regexp>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
30 </SimpleNode>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
31 <Node nodeName="BirthDate" type="DateTime" />
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
32 <Node nodeName="Email" type="Email" minOccur="0" maxOccur="unbounded" />
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
33 <ComplexNode nodeName="AviaTicket" minOccur="0">
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
34 <Node nodeName="From" type="Airport" control="ListBox" datasource="Airports"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
35 <Node nodeName="To" type="Airport" >
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
36 <Check op='!=' LVal='nodeValue' RVal="From.nodeValue"/>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
37 </Node>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
38 </ComplexNode>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
39 </NodeSet>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
40 </ComplexNode>
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 15
diff changeset
41 </schema>