Validating dom parser

If they were fixed, this processor might do quite well on a conformance evaluation, rather than being below the median.Beyond those two bugs, a few other problems also turned up.Character references that expand to surrogate pairs are not accepted.Oracle has a new version of their package, which appears promising.

The XML spec itself uses such constructs in its DTD, but its errata haven't yet been updated to address the issue of exactly where parameter entities get expanded and where they don't.

(Were there not the example of the XML spec itself, and feedback from the XML editors on this issue, it would seem that this processor was in compliance.) Character references that would expand to Unicode surrogate pairs are inappropriately rejected.

Nobody has any real reason to use such pairs yet, so in practice this isn't a problem.

For example, characters are rarely checked for being in the right ranges, saving code in several locations both to make those checks and to report the associated errors.

Certain syntax rules, like "--" being illegal in comments and "" being illegal in normal text, are also ignored.

||

The XML spec itself uses such constructs in its DTD, but its errata haven't yet been updated to address the issue of exactly where parameter entities get expanded and where they don't.(Were there not the example of the XML spec itself, and feedback from the XML editors on this issue, it would seem that this processor was in compliance.) Character references that would expand to Unicode surrogate pairs are inappropriately rejected.Nobody has any real reason to use such pairs yet, so in practice this isn't a problem.For example, characters are rarely checked for being in the right ranges, saving code in several locations both to make those checks and to report the associated errors.Certain syntax rules, like "--" being illegal in comments and "]]" being illegal in normal text, are also ignored.

]]

Leave a Reply