Jump to content

Talk:Java API for XML Processing

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 213.162.103.78 (talk) at 22:48, 22 March 2007 (Add comment on optional use of DefaultHandler.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Examples

Could we have an example of how to use this technology.

SAX handler

I don't think it's necessary to use a org.xml.sax.helpers.DefaultHandler - that just provides convenient implementations of some of the interfaces which are required to be used. It would be better to say something like "by invoking methods on the ContentHandler, the ErrorHandler, the DTDHandler, and the EntityResolver interfaces, typically provided by an instance of a class derived from org.xml.sax.helpers.DefaultHandler".

I'm not sufficiently familiar with SAX to feel authoritive enough to make this change, though.