mirror of
https://github.com/AdaCore/xmlada.git
synced 2026-02-12 12:30:28 -08:00
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12335 936e1b1b-40f2-da11-902a-00137254ae57
27 lines
794 B
XML
27 lines
794 B
XML
<?xml version="1.0"?>
|
|
<?my_pi ?>
|
|
<!-- top level comment -->
|
|
<html xmlns:top="http://top-levelns">
|
|
<top:h1>Big & A A header</top:h1>
|
|
<manu:h2 xmlns:manu="http://manuns"
|
|
a1=" a b " a2="     a b  " />
|
|
<xml:img xml:src='A&toto.gif' />
|
|
<!-- an invalid comment -->
|
|
<empty_tag xmlns="http://foons" attr='foo' />
|
|
<![CDATA[<greeting]]>
|
|
<full_tag attr="foo">full</full_tag>
|
|
|
|
<!-- Check uniqueness of attributes => incorrect
|
|
<bad xmlns:n1="http://www.w3.org"
|
|
xmlns:n2="http://www.w3.org"
|
|
n1:a="1" n2:a="2" /> -->
|
|
<good xmlns:n1="http://www.w3.org"
|
|
xmlns="http://www.w3.org"
|
|
n1:a="1" a="2" />
|
|
</html>
|
|
|
|
<!-- Activate this to test that only one single root child is allowed
|
|
<foo2>
|
|
</foo2>
|
|
-->
|