annotate _test/Resources/person.xsd @ 250:129e48bb5afb

DOM refactoring ObjectToDOM methods are virtual QueryToDOM uses inflators Fixed transform for the complex values in the ObjectToDOM QueryToDOM doesn't allow to use complex values (HASHes) as values for nodes (overpost problem)
author sergey
date Wed, 07 Nov 2012 04:17:53 +0400
parents 77a9934a44af
children eff7f75a4408
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
215
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
2 <xs:schema
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
3 targetNamespace="http://implab.org/person/"
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
5 xmlns:tns="http://implab.org/person/"
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
6 elementFormDefault="qualified"
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
7 >
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
8 <xs:complexType name="personInfo">
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
9 <xs:sequence>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
10 <xs:element name="firstName" type="xs:string" />
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
11 <xs:element name="lastName" type="xs:string" />
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
12 <xs:element name="address" type="tns:addressType" minOccurs="0" maxOccurs="unbounded"/>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
13 </xs:sequence>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
14 <xs:attribute name="code" use="optional" type="xs:string"/>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
15 </xs:complexType>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
16
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
17 <xs:element name="personInfo" type="tns:personInfo"/>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
18
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
19 <xs:complexType name="addressType">
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
20 <xs:sequence>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
21 <xs:element name="street" type="xs:string" />
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
22 <xs:element name="line" type="xs:string" />
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
23 </xs:sequence>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
24 </xs:complexType>
77a9934a44af sync, migrating to XML::Compile
cin
parents:
diff changeset
25 </xs:schema>