http://dom4j.org/ faq.html#What%20does%20the%20following%20mean%20'Warning:%20Error%20occu rred%20using%20JAXP%20to%20load%20a%20SAXParser.%20Will%20use%20Aelfred% 20instead'
I also believe that dom4j automatically picks up the first JAXP-compliant parser in its classpath. If you want to be pick one (in case you have 2 competing parsers), you probably can use this property "javax.xml.parsers.SAXParserFactory", for example:
- D"javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFac toryImpl"
Han Ming
On Friday, February 14, 2003, at 06:30 AM, Carlos Barroso wrote:
Hy there.
I´m having trouble configuring jaxp to use xerces for parsing a xml file.
It keeps giving me the following message:
Warning: Error occurred using JAXP to load a SAXParser. Will use
Aelfred instead
I almost have the code right, but I don't know what is the property that I
have to change:
try {
SAXParserFactory factory = SAXParserFactory.newInstance();
parser = factory.newSAXParser();
parser.setProperty( ); <<<<
String docURI = ...;
parser.parse(docURI);
} catch(SAXException e) {}
What do I have to put in the above line so I can use the xerces parser?
Please help.
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user
------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user