You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Evert Haasdijk <E....@cable.a2000.nl> on 2001/04/27 11:13:52 UTC

Verifying DTD compliance in memory

Hi all,

When modifying or creating a DOM_Document in memory, there seems to be only
one way to check that the results are valid in terms of the DTD. Also,
a lot of information is generated during the parse of a stream that cannot
be updated through the DOM (e.g. DOM_Document::getElementById() only works
if the element was parsed, there is no way to get it to work for newly
created or imported nodes).
It would be *very* useful to have some kind of 'parser' that, rather than a
stream, takes a DOM_Document and checks that against the DTD, updating the
document's ID map and what have you.
Has anyone tried creating such a beast or does anyone have any ideas how
that could be done? And, is anyone else interested in such a thing or am I
the only one?

TIA, Evert


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org