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

Reply via email to