This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Not able to create SAXParser.


Hi,

I am  not able to create  SAXParser when I set setNamespaceAware(true) on
the SAXParserFactory, throws ParserConfigurationException( If I comment
setNamespaceAware(true), it works fine).

javax.xml.parsers.SAXParserFactory spf =
javax.xml.parsers.SAXParserFactory.newInstance ();
spf.setNamespaceAware(true);
javax.xml.parsers.SAXParser sp = spf.newSAXParser (); //Throws exception 

Any help is appreciated.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]