Files
xmlada/tests/schema/test.xml
Emmanuel Briot 63b47c6599 Reorganize testsuites
Move all the */test/ directories to tests/*
Move all tests that potentially contain customer code or data to tests/adacore
 These will be moved to a separate git repository

Part of O527-038

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@240170 936e1b1b-40f2-da11-902a-00137254ae57
2015-07-09 15:17:03 +02:00

73 lines
1.2 KiB
XML

<?xml version="1.0" ?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://test2 test2.xsd"
xmlns:test2="http://test2"
xsi:noNamespaceSchemaLocation='test.xsd' >
<my_string>
<size>10</size>
<contents>ManuManuMa</contents>
</my_string>
<zip attr1="-11" attr3="1 2 3" attr4="value1">
<code_postal>1723</code_postal>
<foo>Manu</foo>
</zip>
<zip>
<zipcode>1723</zipcode>
<!-- <zipcode>1724</zipcode> -->
<foo>Manu</foo>
</zip>
<zipb>
<code_postal>1723</code_postal>
</zipb>
<zipr attr1="12:00:12">
<zipcode>1723</zipcode>
</zipr>
<strs>
<str>a</str>
<str2>b</str2>
<str>c</str>
</strs>
<strs>
<str>a</str>
<str2>b</str2>
<str>c</str>
</strs>
<strs>
<str>a</str>
<str2>b</str2>
<str>c</str>
</strs>
<!-- Invalid
<strs2>
<str>a</str>
<str2>b</str2>
<str3>c</str3>
</strs2>
-->
<person>
<first_name>Emmanuel</first_name>
<last_name>Briot</last_name>
</person>
<person>
<last_name>Briot</last_name>
<first_name>Emmanuel</first_name>
</person>
<person>
<first_name>Emmanuel</first_name>
</person>
<test2:manu/>
<test2:manu/>
</root>