Mercurial > pub > Impl
annotate _test/Resources/person.xsd @ 400:ef37ec102dab
redirection support while fetching child resources
author | cin |
---|---|
date | Wed, 14 May 2014 17:27:32 +0400 |
parents | eff7f75a4408 |
children |
rev | line source |
---|---|
215 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <xs:schema | |
3 targetNamespace="http://implab.org/person/" | |
4 xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
5 xmlns:tns="http://implab.org/person/" | |
361
eff7f75a4408
added cookie support for the request language detection
cin
parents:
215
diff
changeset
|
6 xmlns:impl="http://implab.org/schemas/impl-bindings" |
215 | 7 elementFormDefault="qualified" |
8 > | |
361
eff7f75a4408
added cookie support for the request language detection
cin
parents:
215
diff
changeset
|
9 <xs:complexType name="personInfo" impl:bind-type="Person" > |
215 | 10 <xs:sequence> |
11 <xs:element name="firstName" type="xs:string" /> | |
12 <xs:element name="lastName" type="xs:string" /> | |
13 <xs:element name="address" type="tns:addressType" minOccurs="0" maxOccurs="unbounded"/> | |
14 </xs:sequence> | |
15 <xs:attribute name="code" use="optional" type="xs:string"/> | |
16 </xs:complexType> | |
17 | |
18 <xs:element name="personInfo" type="tns:personInfo"/> | |
19 | |
20 <xs:complexType name="addressType"> | |
21 <xs:sequence> | |
22 <xs:element name="street" type="xs:string" /> | |
23 <xs:element name="line" type="xs:string" /> | |
24 </xs:sequence> | |
25 </xs:complexType> | |
26 </xs:schema> |