: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Getting Null Pointer exception in XPATH execution
Hi Shekhar,
Which version of Xalan do you use? (use org.apache.xalan.Version for this)
The problem could be the DOM implementation of DOM4J which is very basic
and is far from DOM compliant at the moment
: Shekhar Srivastava
Cc: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Getting Null Pointer exception in XPATH execution
Hi Shekhar,
Which version of Xalan do you use? (use org.apache.xalan.Version for this)
The problem could be the DOM implementation of DOM4J which is very basic
and is far from
ssage-
From: bob mcwhirter [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 1:49 AM
To: Shekhar Srivastava
Cc: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Getting Null Pointer exception in XPATH execution
It looks like you're using Xerces for the xpath stuff
instead of the built-in Ja
CTED]
Sent: Friday, April 02, 2004 1:49 AM
To: Shekhar Srivastava
Cc: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Getting Null Pointer exception in XPATH execution
It looks like you're using Xerces for the xpath stuff
instead of the built-in Jaxen xpath impl.
Look at the API for Branch/
It looks like you're using Xerces for the xpath stuff
instead of the built-in Jaxen xpath impl.
Look at the API for Branch/Element, and you'll see that
it directly supports XPath using the integrated Jaxen impl.
-bob
On Thu, 1 Apr 2004, Shekhar Srivastava wrote:
> Hi All,
>
> I am new
Hi All,
I am new to DOM4J and I am getting the following exception in an existing system that
I am supporting. We are using JDK 1.4.1.
NodeIterator nl = XPathAPI.selectNodeIterator( doc, xql );
while ( ( n = nl.nextNode () ) != null )
{
//...some processing
}
the xql passed is "//docinf