Hi guys!
I am trying to get the below mentioned code to work with xerces1.4.1.

        1: DocumentBuilderFactory factory    =
DocumentBuilderFactory.newInstance();
        2: DocumentBuilder docBuilder          =
factory.newDocumentBuilder();
        3: Document doc                                =
docBuilder.parse(new InputSource(new FileReader("blah")));

At line 2 I'am getting the following exception which looks like a bug.

    Exception in thread "main" java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory: method
isIgnoringElementContentWhitespace()Z not found
            at
org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:133)

            at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:92)

            at offerlab.util.soap.TestClient.main(TestClient.java:53)

Did anybody have this problem in the past?
If yes - please help me to find the way out.

Thanks in advance.

Ed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to