RetroZilla/extensions/schema-validation/tests/schema-complex-test.xml
2015-10-20 23:03:22 -04:00

1155 lines
27 KiB
XML

<?xml version="1.0" ?>
<!DOCTYPE samples [
<!ATTLIST foo id ID #IMPLIED>
<!ATTLIST balance id ID #IMPLIED>
<!ATTLIST balance2 id ID #IMPLIED>
<!ATTLIST balance3 id ID #IMPLIED>
<!ATTLIST balance4 id ID #IMPLIED>
<!ATTLIST balance5 id ID #IMPLIED>
<!ATTLIST balance6 id ID #IMPLIED>
<!ATTLIST balance7 id ID #IMPLIED>
<!ATTLIST balance8 id ID #IMPLIED>
<!ATTLIST balance9 id ID #IMPLIED>
<!ATTLIST balance10 id ID #IMPLIED>
<!ATTLIST balance11 id ID #IMPLIED>
<!ATTLIST balance12 id ID #IMPLIED>
<!ATTLIST dairy id ID #IMPLIED>
<!ATTLIST fridge id ID #IMPLIED>
<!ATTLIST author id ID #IMPLIED>
<!ATTLIST author-2 id ID #IMPLIED>
<!ATTLIST author-3 id ID #IMPLIED>
<!ATTLIST author-4 id ID #IMPLIED>
<!ATTLIST balance-attrgroup-1 id ID #IMPLIED>
<!ATTLIST balance-group-1 id ID #IMPLIED>
<!ATTLIST deriv-ext-1 id ID #IMPLIED>
<!ATTLIST deriv-res-1 id ID #IMPLIED>
<!ATTLIST deriv-res-2 id ID #IMPLIED>
<!ATTLIST deriv-ext-complex-1 id ID #IMPLIED>
<!ATTLIST deriv-ext-restriction-1 id ID #IMPLIED>
<!ATTLIST empty-complex-1 id ID #IMPLIED>
<!ATTLIST empty-complex-2 id ID #IMPLIED>
]>
<samples xmlns:xsi1="http://www.w3.org/2001/XMLSchema-instance"
xsi1:schemaLocation="http://www.mozilla.org/schema/test schema.xsd"
xmlns:xsi="http://www.w3.org/1999/XMLSchema"
xmlns:test="http://www.mozilla.org/schema/test"
xmlns="http://www.mozilla.org/schema/test">
<foo id="foo-1">P150D</foo>
<balance id="balance-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance>
<balance id="balance-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<amount>20</amount>
</transaction>
</balance>
<balance id="balance-3">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
</transaction>
</balance>
<balance id="balance-4">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>invalid</withdraw>
<amount>20</amount>
</transaction>
</balance>
<balance id="balance-5">
<transaction>
</transaction>
</balance>
<balance2 id="balance2-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance2>
<balance2 id="balance2-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<amount>20</amount>
</transaction>
</balance2>
<balance2 id="balance2-3">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
</transaction>
</balance2>
<balance2 id="balance2-4">
<transaction>
</transaction>
</balance2>
<balance3 id="balance3-1">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
</transaction>
</balance3>
<balance3 id="balance3-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
</transaction>
</balance3>
<balance3 id="balance3-3">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<desc>test</desc>
<withdraw>false</withdraw>
</transaction>
</balance3>
<balance3 id="balance3-4">
<transaction>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
</transaction>
</balance3>
<balance3 id="balance3-5">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2004-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance3>
<balance4 id="balance4-1">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
<date>2005-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<date>2006-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance4>
<balance4 id="balance4-2">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance4>
<balance4 id="balance4-3">
<transaction>
<date>2001-03-22</date>
<withdraw>false</withdraw>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<amount>20</amount>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance4>
<balance4 id="balance4-4">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>invalid</withdraw>
<amount>20</amount>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>false</withdraw>
</transaction>
</balance4>
<balance5 id="balance5-1">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2004-03-22</date>
<withdraw>true</withdraw>
<date>2004-03-22</date>
<withdraw>false</withdraw>
</transaction>
</balance5>
<balance5 id="balance5-2">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance5>
<balance5 id="balance5-3">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance5>
<balance5 id="balance5-4">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
</transaction>
</balance5>
<balance5 id="balance5-5">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<date>2001-03-22</date>
<withdraw>true</withdraw>
<amount>20</amount>
</transaction>
</balance5>
<balance5 id="balance5-6">
<transaction>
</transaction>
</balance5>
<balance6 id="balance6-1">
<transaction>
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-2">
<transaction>
<date>2001-03-22</date>
<amount>20</amount>
<desc>test</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-3">
<transaction>
<date>2001-03-22</date>
<amount>20</amount>
<desc>test</desc>
<desc>test2</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-4">
<transaction>
<date>2001-03-22</date>
<amount>20</amount>
<desc>test</desc>
<desc>test2</desc>
<desc>test3</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-5">
<transaction>
<date>2001-03-22</date>
<amount>20</amount>
<desc>test</desc>
<desc>test2</desc>
<desc>test3</desc>
<desc>test4</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-6">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-7">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<desc>test2</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-8">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<desc>test2</desc>
<desc>test</desc>
<withdraw>true</withdraw>
</transaction>
</balance6>
<balance6 id="balance6-9">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<desc>test2</desc>
<desc>test</desc>
</transaction>
</balance6>
<balance7 id="balance7-1">
<transaction test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-2">
<transaction test:testAttr="false" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-3">
<transaction test:testAttr="123" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-4">
<transaction test:testAttr="false" testAttr2="true" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-5">
<transaction test:testAttr="false" testAttr2="123" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-6">
<transaction test:testAttr="false" testAttr2="false" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-7">
<transaction test:testAttr="false" test:testAttr3="true" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-8">
<transaction test:testAttr="false" test:testAttr3="false" test:testAttr4="true">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-9">
<transaction test:testAttr="false" test:testAttr3="false">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-10">
<transaction test:testAttr="false" test:testAttr3="false" test:testAttr4="123">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance7 id="balance7-11">
<transaction test:testAttr="false" test:testAttr4="true" test:foopy="eeek">
<date>2001-03-22</date>
<withdraw>true</withdraw>
</transaction>
</balance7>
<balance8 id="balance8-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
</balance8>
<balance8 id="balance8-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
</balance8>
<balance8 id="balance8-3">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<lastname>asas</lastname>
</balance8>
<balance8 id="balance8-4">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance8>
<balance8 id="balance8-5">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>adad</name>
</balance8>
<balance8 id="balance8-6">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<lastname>asas</lastname>
</balance8>
<balance8 id="balance8-7">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>asas</name>
<foo>evil</foo>
</balance8>
<balance9 id="balance9-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9 id="balance9-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
</balance9>
<balance9 id="balance9-3">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
</balance9>
<balance9 id="balance9-4">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9 id="balance9-5">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9 id="balance9-6">
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance10 id="balance10-1">
<lastname>asas</lastname>
<name>afaf</name>
</balance10>
<balance10 id="balance10-2">
<transaction>
</transaction>
<lastname>asas</lastname>
<name>afaf</name>
</balance10>
<balance10 id="balance10-3">
</balance10>
<balance11 id="balance11-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<foopy>
<balance9>
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9>
<transaction>
<date>2004-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9>
<transaction>
<date>2005-02-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
</foopy>
</transaction>
</balance11>
<balance11 id="balance11-2">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<foopy>
<balance9>
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9>
<transaction>
<date>2004-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
<balance9>
<transaction>
<date>2005-0a-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
<name>adad</name>
<lastname>asas</lastname>
<name>afaf</name>
<test>evil</test>
<test2>evil</test2>
</balance9>
</foopy>
</transaction>
</balance11>
<balance12 id="balance12-1">
<transaction>
<amount2>23</amount2>
<date2>2003-12-12</date2>
</transaction>
</balance12>
<balance12 id="balance12-2">
<transaction>
<amount2>23</amount2>
<date2>2003-12-12</date2>
<date>2005-01-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance12>
<balance12 id="balance12-3">
<transaction>
<amount2>23</amount2>
<date2>2003-12-12</date2>
<date>2005-01-22</date>
<desc>test</desc>
<withdraw>false2</withdraw>
<amount>20</amount>
</transaction>
</balance12>
<balance12 id="balance12-4">
<transaction>
<amount2>23</amount2>
<date2>2003-12-12</date2>
<date>2005-01-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<amount2>23</amount2>
</transaction>
</balance12>
<balance12 id="balance12-5">
<transaction>
<amount2>23</amount2>
<date>2005-01-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
<asterix>23</asterix>
</transaction>
</balance12>
<dairy id="t1">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
</dairy>
<dairy id="t2">
<milk type="skimmed">
<volume uom="litres">-1</volume>
</milk>
</dairy>
<dairy id="t3">
<milk type="skimmed">
<volume uom="litres">1</volume>
</milk>
<milk type="skimmed">
<volume uom="litres">12</volume>
</milk>
<milk type="semi-skimmed">
<volume uom="litres">13.01</volume>
</milk>
</dairy>
<dairy id="t4">
<milk type="full-cream">
<volume uom="litres2">1</volume>
</milk>
</dairy>
<dairy id="t5">
<milk type="full-crap">
<volume uom="litres">1</volume>
</milk>
</dairy>
<dairy id="t6">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="salted">
<weight uom="kg">102.33</weight>
</butter>
<butter type="non-salted">
<weight uom="kg">4.22</weight>
</butter>
</dairy>
<dairy id="t7">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="esalted">
<weight uom="kg">102.33</weight>
</butter>
<butter type="non-salted">
<weight uom="kg">4.22</weight>
</butter>
</dairy>
<dairy id="t8">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="salted">
<weight uom="kg">102.33</weight>
</butter>
<butter type="invalid">
<weight uom="kg">4.22</weight>
</butter>
</dairy>
<dairy id="t9">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="salted">
<weight uom="kg">102.33</weight>
</butter>
<butter type="invalid">
<weight uom="kginvalid">4.22</weight>
</butter>
</dairy>
<dairy id="t10">
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="salted">
<weight uom="kg">102.334</weight>
</butter>
<butter type="non-salted">
<weight uom="kg">4.22</weight>
</butter>
</dairy>
<fridge id="t11">
<contents>
<dairyProduce>
<milk type="full-cream">
<volume uom="litres">1</volume>
</milk>
<milk type="full-cream">
<volume uom="litres">1.04</volume>
</milk>
<butter type="salted">
<weight uom="kg">102.34</weight>
</butter>
<butter type="non-salted">
<weight uom="kg">4.22</weight>
</butter>
</dairyProduce>
</contents>
</fridge>
<dairy id="t12">
<milk type="full-cream" type2="full-cream">
<volume uom="litres">1</volume>
</milk>
</dairy>
<dairy id="t13">
<milk type="full-cream" type2="skimmed">
<volume uom="litres">1</volume>
</milk>
</dairy>
<author id="author-1">
<name>Mr. Goat</name>
<born>1980-03-23</born>
</author>
<author id="author-2">
<name>Mr. Goat</name>
<birth>1980-03-23</birth>
</author>
<author id="author-3">
<name>Mr. Goat</name>
<born>1980-03-23</born>
<name>Mr. Goats</name>
</author>
<author id="author-4">
<name>Mr. Goat</name>
</author>
<author xmlns="http://www.mozilla.org/schema/test" id="author-5">
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-23</dead>
</author>
<author id="author-6">
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-a3</dead>
</author>
<author id="author-7">
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-13</dead>
<invalid>foo</invalid>
</author>
<author id="author-8">
</author>
<author-2 id="author-2-1">
<author>
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-23</dead>
</author>
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</author-2>
<author-2 id="author-2-2">
<author>
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-23</dead>
<invalid>foo</invalid>
</author>
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</author-2>
<author-2 id="author-2-3">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</author-2>
<author-3 id="author-3-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</author-3>
<author-3 id="author-3-2">
<author>
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-23</dead>
</author>
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</author-3>
<author-4 id="author-4-1">
</author-4>
<balance-attrgroup-1 id="balance-attrgroup-1-1">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance-attrgroup-1>
<balance-attrgroup-1 id="balance-attrgroup-1-2" test:test="false">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance-attrgroup-1>
<balance-attrgroup-1 id="balance-attrgroup-1-3" test:test="invalid">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance-attrgroup-1>
<balance-attrgroup-1 id="balance-attrgroup-1-4" test:invalid="invalid">
<transaction>
<date>2001-03-22</date>
<desc>test</desc>
<withdraw>false</withdraw>
<amount>20</amount>
</transaction>
</balance-attrgroup-1>
<balance-group-1 id="group-1">
<name>Mr. Goat</name>
<born>1980-03-23</born>
</balance-group-1>
<balance-group-1 id="group-2">
<name>Mr. Goat</name>
<born>1980-03-23</born>
<dead>1989-03-23</dead>
</balance-group-1>
<balance-group-1 id="group-3">
<name>Mr. Goat</name>
<born>1980-03-a3</born>
<dead>1989-03-23</dead>
</balance-group-1>
<balance-group-1 id="group-4">
<name>Mr. Goat</name>
<born>1980-03-13</born>
<dead>1989-03-23</dead>
<foo>b</foo>
</balance-group-1>
<deriv-ext-1 id="deriv-ext-1-1">
<name>Mr. Goat</name>
<born>1980-03-13</born>
<dead>1989-03-23</dead>
</deriv-ext-1>
<deriv-ext-1 id="deriv-ext-1-2">
<name>Mr. Goat</name>
<born>1980-03-13</born>
<dead>1989-03-23</dead>
<eek>foo</eek>
</deriv-ext-1>
<deriv-ext-1 id="deriv-ext-1-3">
<name>Mr. Goat</name>
<born>1980-0a-13</born>
<dead>1989-03-23</dead>
</deriv-ext-1>
<deriv-res-1 id="deriv-res-1-1">
<name>Mr. Goat</name>
<born>1980-03-13</born>
</deriv-res-1>
<deriv-res-1 id="deriv-res-1-2">
<name>Mr. Goat</name>
<born>1980-03-13</born>
<dead>1989-03-23</dead>
</deriv-res-1>
<deriv-res-2 id="deriv-res-2-1">
<name>Mr. Goat</name>
<born>1980-03-13</born>
<dead>1989-03-23</dead>
</deriv-res-2>
<deriv-res-2 id="deriv-res-2-2">
<name>Mr. Goat</name>
<born>1980-03-13</born>
</deriv-res-2>
<deriv-ext-complex-1 id="deriv-ext-complex-1-1">
<forename>Albert</forename>
<forename>Arnold</forename>
<surname>Gore</surname>
<generation>Jr</generation>
</deriv-ext-complex-1>
<deriv-ext-complex-1 id="deriv-ext-complex-1-2">
<forename>Albert</forename>
<forename>Arnold</forename>
<generation>Jr</generation>
<surname>Gore</surname>
</deriv-ext-complex-1>
<deriv-ext-restriction-1 id="deriv-ext-restriction-1-1">
<forename>Foo</forename>
<surname>Bar</surname>
</deriv-ext-restriction-1>
<deriv-ext-restriction-1 id="deriv-ext-restriction-1-2">
<surname>Bar</surname>
</deriv-ext-restriction-1>
<deriv-ext-restriction-1 id="deriv-ext-restriction-1-3">
<forename>Foo</forename>
<surname>2006-01-01</surname>
</deriv-ext-restriction-1>
<!-- VALID -->
<empty-complex-1 id="empty-complex-1-1" test:att1="test1" />
<!-- VALID -->
<empty-complex-1 id="empty-complex-1-2" />
<!-- INvalid -->
<empty-complex-1 id="empty-complex-1-3" test:att1="test1">
Content is not allowed
</empty-complex-1>
<!-- INvalid -->
<empty-complex-1 id="empty-complex-1-4" test:att1="test1">
<bad>Not valid</bad>
</empty-complex-1>
<!-- VALID -->
<empty-complex-2 id="empty-complex-2-1" />
<!-- VALID -->
<empty-complex-2 id="empty-complex-2-2" >
<e1>Stuff</e1>
</empty-complex-2>
</samples>