Arun Yadav wrote:
> XMLReader xr
>=XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
The other option is to change your program to use the JAXP
SAXParserFactory to create the SAX parser for your application.
By doing so, you can drop in any parser that supports JAXP by
just using the new jar file without changing your source code
or configuration.
Check the Xerces2 FAQs for how to use JAXP to create a SAX
parser: http://xml.apache.org/xerces2-j/faq-write.html#faq-2
--
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]