Hi, Kevin.

Kevin Froese <[EMAIL PROTECTED]> wrote on 2008-07-07 11:01:33 AM:
> I'm getting a NullPointerException when calling XPath.evaluate() on a 
> document that has an unexpanded entity reference node. If I pass in the 
> same document with the entity reference expanded, everything works fine. 

> I'm wondering if this expected behavior, a known issue, or if I should 
> submit a bug report for this.
> 
> I'm using xalan 2.7.1 and xerces 2.9.0 with jdk 1.5.0_07.

> This is the result:
> 
> Caught exception: null
> java.lang.NullPointerException
>     at 
> com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.
> nextNode(DOM2DTM.java:344)

Your traceback shows that you're actually encoutering this problem with 
the version of Xalan-Java that's packaged as part of the Sun JRE. However, 
the same problem exists in Xalan-Java itself.

I would be grateful if you could open a bug report against Xalan-Java by 
selecting the "Create New Issue" tab at [1].

Thanks,

Henry
[1] http://issues.apache.org/jira/browse/XALANJ
------------------------------------------------------------------
Henry Zongaro
XML Transformation & Query Development
IBM Toronto Lab   T/L 313-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]

Reply via email to