[relaxng-user] yet another trang rng -> DTD question : namespaces
Sebastian Rahtz
sebastian.rahtz at computing-services.oxford.ac.uk
Mon Jan 19 18:24:45 ICT 2004
I don't want to see ungrateful :-}, but this, with
ns="http://www.tei-c.org/ns/1.0",
<define name="TEI">
<element name="TEI">
<ref name="content.TEI"/>
</element>
</define>
turns into this:
<!ELEMENT ns1:TEI (%content.TEI;)>
<!ATTLIST ns1:TEI
xmlns:ns1 CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
%attributes.TEI;>
which "traditional" XML parsers seem unable to cope with, as they don't
understand
namespaces in DTDs. Are they mistaken?
Sebastian
More information about the relaxng-user
mailing list