<!DOCTYPE root SYSTEM "TypeInfo.dtd" >
<root xsi:noNamespaceSchemaLocation="TypeInfo.xsd"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ss="http://www.secondSchema" >
<attrTest 
anySimpleType="asdas"
string="string"
boolean="true"
decimal="2.0"
float="2.1"
double="2.1"
duration="P1Y2M3DT10H30M"
dateTime="2000-10-30T11:12:00"
time="11:12:00"
date="2000-10-30"
gYearMonth="1999-01"
gYear="1999"
gMonthDay="--01-08"
gDay="---21"
gMonth="--12--"
hexBinary="0FB7"
base64Binary="abcd"
anyURI="http://www.example.com/"
QName="xsla"
normalizedString="example"
token="example"
language="en"
NMTOKEN="example"
NMTOKENS="example bar"
Name="example"
NCName="example"
integer="1"
nonPositiveInteger="-1"
negativeInteger="-1"
long="1"
int="1"
short="1"
byte="1"
nonNegativeInteger="1"
unsignedLong="1"
unsignedInt="1"
unsignedShort="1"
unsignedByte="1"
positiveInteger="1"
ID="abc"
IDREF="abc"
IDREFS="abc"
ENTITY="APACHE"
ENTITIES="APACHE"
defaultString="test"
xmlns:prefix="http://lala" 
xsi:noNamespaceSchemaLocation="hello"
/>
<eleTest >
  <level1string >string</level1string>
  <level1boolean >true</level1boolean>
  <level1decimal >2.0</level1decimal>
  <level1float >2.1</level1float>
  <level1double >2.1</level1double>
  <level1duration >P1Y2M3DT10H30M</level1duration>
  <level1dateTime >2000-10-30T11:12:00</level1dateTime>
  <level1time >11:12:00</level1time>
  <level1date >2000-10-30</level1date>
  <level1gYearMonth >1999-01</level1gYearMonth>
  <level1gYear >1999</level1gYear>
  <level1gMonthDay >--01-08</level1gMonthDay>
  <level1gDay >---21</level1gDay>
  <level1gMonth >--12--</level1gMonth>
  <level1hexBinary >0FB7</level1hexBinary>
  <level1base64Binary >abcd</level1base64Binary>
  <level1anyURI >http://www.example.com/</level1anyURI>
  <level1QName >xsla</level1QName>
  <level1normalizedString >example</level1normalizedString>
  <level1token >example</level1token>
  <level1language >en</level1language>
  <level1NMTOKEN >example</level1NMTOKEN>
  <level1NMTOKENS >example bar</level1NMTOKENS>
  <level1Name >example</level1Name>
  <level1NCName >example</level1NCName>
  <level1integer >1</level1integer>
  <level1nonPositiveInteger >-1</level1nonPositiveInteger>
  <level1negativeInteger >-1</level1negativeInteger>
  <level1long >1</level1long>
  <level1int >1</level1int>
  <level1short >1</level1short>
  <level1byte >1</level1byte>
  <level1nonNegativeInteger >1</level1nonNegativeInteger>
  <level1unsignedLong >1</level1unsignedLong>
  <level1unsignedInt >1</level1unsignedInt>
  <level1unsignedShort >1</level1unsignedShort>
  <level1unsignedByte >1</level1unsignedByte>
  <level1positiveInteger >1</level1positiveInteger>
  <level1anyType />
</eleTest>
<simpleDerTest decimalDerived="50" stringDerived="hello" >
  <decimalDerived >20</decimalDerived>
  <stringDerived >hello</stringDerived>
</simpleDerTest>
<complexTest a="abcd" b="hello" c="50" >
  <a >abcd</a>
  <b >hello</b>
  <c >50</c>
</complexTest>
<complexDerTest a="abcd" b="hello" c="50" >
  <a >abcd</a>
  <b >hello</b>
  <c >50</c>
  <d >abcdefg</d>
</complexDerTest>
<unionTest >
  <testEle >50</testEle>
  <testEle >hello</testEle>
  <testEle >200</testEle>
  <testEle >abcdefg</testEle>
  <testEle2 testAttr="50" testAttr2="hello"  />
  <testEle2 testAttr="hello" testAttr2="50" />
  <testEle2 testAttr="200" testAttr2="abcdefg" />
  <testEle2 testAttr="abcdefg" testAttr2="200" />
</unionTest>
<anonymousTest partNum="50">
  <quantity>50</quantity>
  <size>25</size>
  <anonElement>11</anonElement>
</anonymousTest>
<xsiTypeTest>
  <number>99</number>
  <number xsi:type="level1" >74</number>
  <number xsi:type="level2" >49</number>
  <complexXsi >
    <a >a</a>
  </complexXsi>
  <complexXsi xsi:type="level1Complex" >
    <a >a</a>
    <b >b</b>
  </complexXsi>
  <complexXsi xsi:type="level2Complex" >
    <a >a</a>
    <b >b</b>
    <c >c</c>
  </complexXsi>
</xsiTypeTest>
<anyTestPartial xhtml:attr2="some value" >
  <xhtml:fakeTag1 />
  <xhtml:fakeTag2 />
  <ss:realTag1 >la</ss:realTag1>
</anyTestPartial>
<anyTest ss:attr1="string" ss:attr2="2" ss:attr3="string" ss:attr4="2">
  <ss:realTag2 >la</ss:realTag2>
  <ss:realTag3 >la</ss:realTag3>
  <ss:notRealTag >la</ss:notRealTag>
</anyTest>
<anyTestAttr1 ss:attr5="2" />
<anyTestAttr2 ss:attr5="2" />
<anyTestMissing />
<invalidTest simple="abcd" invalid="asdas" >
  <simple >abcd</simple>
  <complex >
    <a >asa</a>
    <invalid />
  </complex>
  <number xsi:type="stringDerivedType" >74</number>
  <complexXsi xsi:type="simpleDerTestType" >
    <a >a</a>
    <b >b</b>
  </complexXsi>
  <unionTest >hello1</unionTest>
  <empty ><a /><a /></empty>
  <invalidAttrTest attr="lala" />
  <missingAttrTest />
  <prohibitedAttrTest attr="lala" />
</invalidTest>
</root>