Re: Verifying DTD compliance in memory

2001-04-27 Thread Joseph_Kesselman
>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. Earlier versions of Xerces had a nonstandard "revalidating parser" API which let you do this. I don't thi

Verifying DTD compliance in memory

2001-04-27 Thread Evert Haasdijk
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() onl