Hi, I wonder if this is the right place, sorry if not. I have noticed that on creating a custom doctype which contains just one entity, ff chokes with
"XML Parsing Error: undefined entity" It is validated ok using w3c's online validator, and the parse tree there is fine including the text "hello there" in place of &hi; run the example (saved in http://your_server.com/dtd_test/ ) <!--doctype.dtd--> <!ENTITY hi "hello there"> <!ELEMENT test (para)*> <!ELEMENT para (#PCDATA)> <!--index.xml - sent as text/xml--> <?xml version="1.0" standalone="no"?> <!DOCTYPE test PUBLIC "-//test//entities in custom doctype//EN" "http://your_server.com/dtd_test/doctype.dtd"> <test> <para> I say old boy &hi;</para> </test> <!--(alternative to index.xml using php to generate required headers)--> <!--index.php--> <?php header("Content-Type: text/xml; charset=utf-8"); ?> <?xml version="1.0" standalone="no"?> <!DOCTYPE test PUBLIC "-//test//entities in custom doctype//EN" "http://your_server.com/dtd_test/doctype.dtd"> <test> <para> I say old boy &hi;</para> </test> If anyone can shed light on this, Id be grateful, Ive looked but can't find anything. Interestingly Opera doesnt display the text for the entiry either, yet IE6 does. thanks _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
