You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by David Regan <Da...@criticalsystems.co.uk> on 2001/11/01 13:57:08 UTC
Intercepting Xerces parsing
I want to extend Xerces to persist some of its infoset to disk. To do this I
would like to intecept operations on nodes. I.e. intercept calls to the DOM
to createElement etc. I get the impression that XNI offers this capability
but although there are supplied examples of how to write a filter document
handler I can't see any examples of how to install my filter into Xerces.
Furthermore, I'm not sure whether or not XNI only offers a way of
intercepting the parsing of XML or a way of intercepting the DOM calls.
Any advice gratefully received.
David Regan
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
parser looks for DTD file even if validation is off
Posted by Shashank Rajvanshi <sr...@openmarket.com>.
I am parsing an XML document (which refers to a DTD file which may or may not
exist), I have parser validation turned off, but still parser looks for the DTD
file and fails if it does not exists.
Why does parser looks for DTD if validation is turned off ?
regards,
Shashank
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org