Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<Person xmlns="http://tempuri.org/Person.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Firstname="Daniel" Lastname="Stutz">
<Addresses>
<Address Street="Teststreet" ZIP="8000" City="Zich"/>
<Address xsi:type="HotelAddress" Street="" ZIP="" City="Angaga" Country="Maldives" RoomNo="34"/>
</Addresses>
</Person>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="Person"
targetNamespace="http://tempuri.org/Person.xsd"
xmlns="http://tempuri.org/Person.xsd"
elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Person" type="Person"/>
<xs:complexType name="Person" mixed="false">
<xs:sequence>
<xs:element name="Addresses" type="ArrayOfAddress" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Firstname" type="xs:string" use="required"/>
<xs:attribute name="Middlename" type="xs:string" use="optional"/>
<xs:attribute name="Lastname" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="Address">
<xs:attribute name="Street" type="xs:string" use="required"/>
<xs:attribute name="ZIP" type="xs:string" use="required"/>
<xs:attribute name="City" type="xs:string" use="required"/>
<xs:attribute name="Country" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="HotelAddress">
<xs:complexContent>
<xs:extension base="Address">
<xs:attribute name="RoomNo" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ArrayOfAddress">
<xs:sequence>
<xs:element name="Address" type="Address" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:simpleType name="MyString">
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="MyType">
<xs:simpleContent>
<xs:extension base="MyString">
<xs:attribute name="Id" type="MyString" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="MyTest1">
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="MyType">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="MyTest2">
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="MyType">
<xs:attribute name="Id" type="MyString" use="required" />
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="MyTest3">
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="MyType">
<xs:maxLength value="10" />
<xs:attribute name="Id" type="MyString" use="required" />
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<ESPTable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:DRMS.ESPTable" xsi:schemaLocation="urn:DRMS.ESPTable ESPTable.xsd">
<ESPPump id="1"> <!-- complete pump with all the fields -->
<PerformanceTable t1="1.14" t2="1.15" t3="1.16" t4="1.17" t5="1.18" t6="1.19" t7="1.20" t8="1.21" t9="1.22" t10="1.23">
<PerformanceValue>
<a1>1.24</a1>
<a2>1.25</a2>
<a3>1.26</a3>
<a4>1.27</a4>
</PerformanceValue>
</PerformanceTable>
</ESPPump>
</ESPTable>

View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:espt="urn:DRMS.ESPTable" targetNamespace="urn:DRMS.ESPTable" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="Percentage">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="nonNegativeDouble">
<xs:restriction base="xs:double">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="ESPTable">
<xs:complexType>
<xs:sequence>
<xs:element name="ESPPump" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="PerformanceTable">
<xs:complexType>
<xs:sequence>
<xs:element name="PerformanceValue" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="a1" type="espt:nonNegativeDouble"/>
<xs:element name="a2" type="espt:nonNegativeDouble"/>
<xs:element name="a3" type="espt:Percentage"/>
<xs:element name="a4" type="espt:nonNegativeDouble"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="t1" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t2" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t3" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t4" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t5" type="espt:Percentage" use="optional"/>
<xs:attribute name="t6" type="espt:Percentage" use="optional"/>
<xs:attribute name="t7" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t8" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t9" type="espt:nonNegativeDouble" use="optional"/>
<xs:attribute name="t10" type="espt:nonNegativeDouble" use="optional"/>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="id" type="xs:unsignedInt" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1 @@
<a>************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************𐌹</a>

View File

@@ -0,0 +1,3 @@
<!ENTITY % notations 'a'>
<!ELEMENT root EMPTY>
<!ATTLIST root ref NOTATION (%notations;) #IMPLIED>

View File

@@ -0,0 +1,27 @@
2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
* 496192.xml, 496192.xsd : new test files.
2005-10-27 Atsushi Enomoto <atsushi@ximian.com>
* 79683.dtd : added for bug #79683.
2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
* 76102.xml : added test for bug #76102.
2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
* added simple.xml (to be used for some tests).
2004-03-24 Lluis Sanchez Gual <lluis@ximian.com>
* added literal-data.xml. This file is used by ComplexDataStructure.cs.
2003-06-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* added nested-dtd-test.xml, nested-dtd-test.dtd, nested-included.dtd.
2003-04-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* added this file along with this new directory.

View File

@@ -0,0 +1,7 @@
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace="urn:foo">
<xs:element name="root" type="xs:string" />
</xs:schema>

View File

@@ -0,0 +1,15 @@
<xs:schema
elementFormDefault="qualified"
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns="urn:foo"
targetNamespace="urn:foo">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element name="child" minOccurs="1" maxOccurs="2" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<xs:schema
elementFormDefault="qualified"
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns="urn:foo"
targetNamespace="urn:foo">
<xs:element name="root">
<xs:complexType>
<xs:sequence maxOccurs="2">
<xs:element name="child1" />
<xs:element name="child2" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<xs:schema
elementFormDefault="qualified"
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns="urn:foo"
targetNamespace="urn:foo">
<xs:element name="root">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="2">
<xs:element name="child1" />
<xs:element name="child2" maxOccurs="2" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,3 @@
2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* 1.xsd, 2.xsd, 3.xsd, 4.xsd : Initial checkin.

View File

@@ -0,0 +1,287 @@
<?xml version="1.0" encoding="utf-16"?>
<rootroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UknTestPart" d1p1:c="44" opAtt="xmlBB" xmlns:q1="thenamespace" attqname="q1:thename" xmlns:d1p1="attribns">
<anot xmlns:q2="mm" xsi:type="q2:AnotherTestPart">1234567890</anot>
<suba xmlns="kk">1</suba>
<b>hola</b>
<bbis>hola</bbis>
<part xmlns="oo">
<name xmlns="mm">dos</name>
<bval xmlns="mm">false</bval>
</part>
<ta xsi:type="TB">
<xx>1</xx>AABB<yy>2</yy></ta>
<parts>
<UnTestPart>
<name xmlns="mm">un</name>
<bval xmlns="mm">true</bval>
</UnTestPart>
<UnTestPart>
<name xmlns="mm">dos</name>
<bval xmlns="mm">false</bval>
</UnTestPart>
<UnTestPart>
<name xmlns="mm">un</name>
<bval xmlns="mm">true</bval>
</UnTestPart>
</parts>
<multita>
<ArrayOfChoice1>
<itema>
<xx>1</xx>
</itema>
<itemb>
<xx>1</xx>
<yy>2</yy>
</itemb>
</ArrayOfChoice1>
<ArrayOfChoice1>
<itema>
<xx>1</xx>
</itema>
<itema>
<xx>1</xx>
</itema>
</ArrayOfChoice1>
</multita>
<multita2>
<data1>
<data2 xmlns="da2">
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
</data2>
<data2 xmlns="da2">
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
</data2>
</data1>
<data1>
<data2 xmlns="da2">
<data3b xmlns="da3">
<xx>1</xx>
<yy>2</yy>
</data3b>
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
</data2>
<data2 xmlns="da2">
<data3b xmlns="da3">
<xx>1</xx>
<yy>2</yy>
</data3b>
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
</data2>
</data1>
<data1>
<data2 xmlns="da2">
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
<data3b xmlns="da3">
<xx>1</xx>
<yy>2</yy>
</data3b>
</data2>
<data2 xmlns="da2">
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
<data3a xmlns="da3">
<xx>1</xx>
</data3a>
</data2>
</data1>
</multita2>
<tam3>
<ArrayOfArrayOfTC>
<ArrayOfTC>
<TC>
<xx>1</xx>
</TC>
<TC>
<xx>1</xx>
</TC>
</ArrayOfTC>
<ArrayOfTC>
<TC>
<xx>1</xx>
</TC>
<TC>
<xx>1</xx>
</TC>
</ArrayOfTC>
</ArrayOfArrayOfTC>
<ArrayOfArrayOfTC>
<ArrayOfTC>
<TC xsi:type="TB">
<xx>1</xx>
<yy>2</yy>
</TC>
<TC>
<xx>1</xx>
</TC>
</ArrayOfTC>
<ArrayOfTC>
<TC xsi:type="TB">
<xx>1</xx>
<yy>2</yy>
</TC>
<TC>
<xx>1</xx>
</TC>
</ArrayOfTC>
</ArrayOfArrayOfTC>
<ArrayOfArrayOfTC>
<ArrayOfTC>
<TC>
<xx>1</xx>
</TC>
<TC xsi:type="TB">
<xx>1</xx>
<yy>2</yy>
</TC>
</ArrayOfTC>
<ArrayOfTC>
<TC>
<xx>1</xx>
</TC>
<TC>
<xx>1</xx>
</TC>
</ArrayOfTC>
</ArrayOfArrayOfTC>
</tam3>
<mayBeNull xsi:nil="true" />
<strings>
<string>un</string>
<string>dos</string>
<string xsi:nil="true" />
<string>tres</string>
</strings>
<ushorts xmlns="arrayNamespace">
<unsignedShort>1</unsignedShort>
<unsignedShort>2</unsignedShort>
<unsignedShort>3</unsignedShort>
</ushorts>
<flatParts>
<name xmlns="mm">un</name>
<bval xmlns="mm">true</bval>
</flatParts>
<flatParts>
<name xmlns="mm">dos</name>
<bval xmlns="mm">false</bval>
</flatParts>
<flatParts>
<name xmlns="mm">un</name>
<bval xmlns="mm">true</bval>
</flatParts>
<flatTAs>
<xx>1</xx>
</flatTAs>
<flatTAs xsi:type="TB">
<xx>1</xx>
<yy>2</yy>
</flatTAs>
<flatTAs xsi:type="TB">
<xx>1</xx>
<yy>2</yy>
</flatTAs>
<ob xmlns:q3="mm" xsi:type="q3:UnTestPart">
<q3:name>dos</q3:name>
<q3:bval>false</q3:bval>
</ob>
<ob2 xmlns:q4="mm" xsi:type="q4:UnTestPart" xmlns="uimp">
<q4:name>dos</q4:name>
<q4:bval>false</q4:bval>
</ob2>
<ob3 xsi:type="xsd:int">12345</ob3>
<ob4 xsi:type="xsd:float">54321.12</ob4>
<oneElem>
<explicitElement>
<subElement unAtrib="val" />
</explicitElement>
</oneElem>
<unElement xmlns="elemns">
<explicitElement xmlns="">
<subElement unAtrib="val" />
</explicitElement>
</unElement>
<unsElements xmlns="elemns">
<explicitElement xmlns="">
<subElement unAtrib="val" />
</explicitElement>
</unsElements>
<unsElements xmlns="elemns">
<subElement unAtrib="val" xmlns="" />
</unsElements>
<extra1 val="1" />
<extra2 val="2" />
<extra3 val="3" />
<extra4 val="4" />
<uktester aa="hihi" extraAtt1="val1" extraAtt2="val2" extraAtt3="val3" />
<op1>AA</op1>
<opArray>
<option>CC</option>
<option>xmlBB</option>
<option>AA</option>
</opArray>
<ukOpt xsi:type="option">DD</ukOpt>
<byteArray>CyE33g==</byteArray>
<byteByteArray>
<base64Binary>CyE33g==</base64Binary>
<base64Binary>CyE33g==</base64Binary>
</byteByteArray>
<string>aa</string>
<kk>22</kk>
<ttList>
<anyType xsi:type="xsd:string">two</anyType>
<anyType xsi:type="xsd:string">strings</anyType>
</ttList>
<multiList>
<ArrayOfAnyType>
<anyType xsi:type="xsd:int">22</anyType>
<anyType xsi:type="xsd:int">33</anyType>
</ArrayOfAnyType>
<ArrayOfAnyType>
<anyType xsi:type="xsd:int">888</anyType>
<anyType xsi:type="xsd:int">999</anyType>
</ArrayOfAnyType>
</multiList>aa<xmltext>33</xmltext>bb<xmltext>776</xmltext><special>
<data>
<three>3</three>
<one>1</one>
<two>2</two>
</data>
</special><dummyStringArray xmlns="mm">
<ArrayOfString xsi:nil="true" />
<ArrayOfString xsi:nil="true" />
</dummyStringArray><dbscontainer xmlns="mm">
<at xsi:type="DblStringContainer">
<doublestring>
<ArrayOfString xsi:nil="true" />
<ArrayOfString>
<string>hello</string>
</ArrayOfString>
</doublestring>
<at xsi:type="AnotherTestPart">567</at>
</at>
</dbscontainer><RoList>
<anyType xmlns:q5="mm" xsi:type="q5:UnTestPart">
<q5:name>un</q5:name>
<q5:bval>true</q5:bval>
</anyType>
<anyType xmlns:q6="mm" xsi:type="q6:UnTestPart">
<q6:name>dos</q6:name>
<q6:bval>false</q6:bval>
</anyType>
</RoList><uname xsi:nil="true" /><uval>false</uval></rootroot>

View File

@@ -0,0 +1,3 @@
<!ENTITY % foobar SYSTEM "nested-included.dtd">
<!ELEMENT root (foo, bar)>
%foobar;

View File

@@ -0,0 +1,5 @@
<!DOCTYPE test SYSTEM "nested-dtd-test.dtd">
<root>
<foo/>
<bar/>
</root>

View File

@@ -0,0 +1,2 @@
<!ELEMENT foo EMPTY>
<!ELEMENT bar EMPTY>

View File

@@ -0,0 +1,2 @@
<root/>

View File

@@ -0,0 +1,42 @@
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:bar"
targetNamespace="urn:bar"
>
<xs:element name="Foo" type="xs:string" />
<xs:element name="Bar" type="FugaType" />
<xs:element name="Baz">
<xs:simpleType>
<xs:list itemType="xs:int" />
</xs:simpleType>
</xs:element>
<xs:element name="Blah">
<xs:complexType>
<xs:sequence>
<xs:element ref="Foo" />
<xs:element ref="Bar" />
<xs:element ref="Baz" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="FugaType">
<xs:complexContent>
<xs:extension base="HogeType">
<xs:sequence>
<xs:element name="Baz" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="HogeType">
<xs:sequence>
<xs:element ref="Foo" />
<xs:element ref="Bar" />
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@@ -0,0 +1,11 @@
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:bar"
targetNamespace="urn:bar"
>
<!-- just for flag deserialization -->
<xs:element name="Foo" type="xs:string" block="extension" />
<xs:element name="Bar" type="xs:string" block="extension restriction" />
</xs:schema>

Some files were not shown because too many files have changed in this diff Show More