W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2011

Pathological PEs in external DTD subset

From: Florian Käferböck <kaeflorian@gmx.at>
Date: Fri, 29 Apr 2011 22:04:37 +0200
Message-ID: <2D0FCA82CAF446E48DFD7557BF2EE067@hyperion>
To: <xml-editor@w3.org>
Dear Sirs!

The XML specification (1.0 and 1.1, latest versions) allows the placement of parameter entity references in external DTD subsets in ways that are rather pathological. Although they normally do not occur in real documents, software would have to be able to deal with them in ways conforming to the standard.

I have written several short examples of such constructions that according to my understanding can all be considered as being allowed and valid by the XML specifiaction, yet, when tested with various widely-used validating XML parsers, lead to a variety of different results, depending on which software is used. It follows that either most of these software implementations do not conform to the standard or that the standard itself does not uniquely determine whether the tested examples are valid or not.

The examples together with the testing results can be found at http://www.floriankaeferboeck.at/XML/Comparison.html
If it is possible, please tell me which of the examples is valid according to the standard!

With best regards,
   Florian Käferböck
Received on Monday, 2 May 2011 07:53:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:12:52 UTC