Evert Hoff wrote:
> Yes, that would be great. I tried to look for something like that today,
> but couldn't find it. Where in the code should I look for this function?

To revalidate a document against XML schema you can use
org.apache.xerces.dom.CoreDocumentImpl.normalizeDocument
().
The implementation is in DOMNormalizer. If you need to revalidate after
each insertion you might as well call normalizeDocument() [1]. As Joe,
mentioned - we don't plan to implement on-fly checking in Xerces DOM
since it will effect performance and memory of Xerces DOM. 

Good Luck,

[1]http://xml.apache.org/xerces2-j/faq-dom.html
-- 
Elena Litani / IBM Toronto

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

Reply via email to