Hey,

When standalone='yes', there can be no declarations in the external
subset that (as you say) would [allow Xerces to] "detect well-formedness
errors that it might otherwise miss and supply the same document information
to the application that a validating parser would."


Presumably the DTD is in the documents you're processing because the
author(s) believed its contents to be useful. If you can convince the
author(s) that it's not useful, perhaps you can get it removed from the
document(s).

In a standalone='yes' case with an external DTD, the author(s) are implicitly saying: 1) the DTD is useful for validation 2) the DTD is not required for well-formedness checking and its processing would not modify document information. In such a case, it might be nice not to process the external DTD.

Unfortunately they may not be correct. They may not even have control over the DTD. A validating parser is supposed to report that they were not correct if it does look at the external subset.


Cheers,

Gareth


-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to