[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: possible bug in xalan - document() function?

Subject: Re: possible bug in xalan - document() function?
From: "Martin Algesten" <martin.algesten@xxxxxxxx>
Date: Mon, 3 Apr 2000 13:03:58 +0100
xalan xpath
Thank you for pointing that out. But changing that got me to the point I
were yesterday, and the problem I really wanted to provoke :)

This is the output from cocoon with the corrected input:
----------------------------------------------
java.lang.NullPointerException

at org.apache.xalan.xpath.MutableNodeListImpl.
        isNodeAfterSibling(MutableNodeListImpl.java, Compiled Code)
	at org.apache.xalan.xpath.MutableNodeListImpl.
        isDOMNodeAfter(MutableNodeListImpl.java, Compiled Code)
	at org.apache.xalan.xpath.MutableNodeListImpl.
        isNodeAfter(MutableNodeListImpl.java:459)
	at org.apache.xalan.xpath.MutableNodeListImpl.
       addNodeInDocOrder(MutableNodeListImpl.java, Compiled Code)
	at org.apache.xalan.xslt.FuncDocument.execute(FuncDocument.java, Compiled
Code)
	at org.apache.xalan.xpath.Function.execute(Function.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.executeFunction(XPath.java:1253)
	at org.apache.xalan.xpath.XPath.execute(XPath.java:1357)
----------------------------------------------

A null-pointer in a very internal method in xalan. I just had a brief look
at the code, the code doesn't check if the incoming arguments are null,
perhaps the intention is that incoming parameters will never be null.

Soo.. has anyone seen this before?

Cheers,
Martin



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.