Hi Minal
 
This is an unfortunate bug that has been fixed in CVS and will be available in the 1.1 release this week. Its caused by some code which is JDK 1.3 dependent and so when running on JDK1.2 you get the exception you've just found.
 
Using JDK1.3.x is a valid workaround on dom4j 1.0, or using the current daily build until the 1.1 release comes out is another work around.

James
----- Original Message -----
Sent: Monday, July 12, 1999 9:32 PM

Hi James,
 
Am running a Servlet within a WebLogic Application Server.My application is the same, where I accept input values from the user and need to compare the contents of the Xml file and the input.
My Xml file is of the following structure
 
<M_Q_Criteria>
    <Content>
        <Row>
            <Criteria/>
            <Priority/>
            <Redirect/>
        </Row>
     </Criteria>
</M_Q_Criteria>
 
When I read the XML file ,I need to access the Row element within which I need to check the Criteria content.
 
I am using the following code piece,which runs perfectly fine within a standalone.However gives me problems within servlets.
 
DOMReader reader = new DOMReader();
        org.dom4j.Document document = reader.read(doc);
 
    Node results=document.selectSingleNode("//Row[1]");
 
The error generated is sent as an attachment.Kindly tell me where could I be facing a problem.
 
Minal.

Reply via email to