[ http://nagoya.apache.org/jira/browse/XALANJ-1970?page=comments#action_55704 ] Yash Talwar commented on XALANJ-1970: -------------------------------------
Hi, Thanks for providing parts.xml file. I get correct result with currentCVS version of xalan. Both interpretive and xsltc version works fine. I appears that the problem has been fixed in currentCVS version. > Xalan throws NullPointerException when processing OASIS test case > SortExprWithCurrentInsideForEach1 > --------------------------------------------------------------------------------------------------- > > Key: XALANJ-1970 > URL: http://nagoya.apache.org/jira/browse/XALANJ-1970 > Project: XalanJ2 > Type: Bug > Components: Xalan > Versions: 2.6 > Reporter: elharo > Attachments: SortExprWithCurrentInsideForEach1.xml, > SortExprWithCurrentInsideForEach1.xsl, parts.xml > > Xalan throws a NullPointerException when processing OASIS Microsoft test > case Sorting_SortExprWithCurrentInsideForEach1 > libxslt and Saxon can handle this one: > $ java > -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar:/opt/xalan-j_2_6_0/bin/xalansamples.jar > org.apache.xalan.xslt.Process -IN SortExprWithCurrentInsideForEach1.xml -XSL > SortExprWithCurrentInsideForEach1.xsl > (Location of error unknown)XSLT Error > (javax.xml.transform.TransformerConfigurationException): > javax.xml.transform.TransformerException: java.lang.NullPointerException > $ java -classpath /opt/saxon/saxon.jar com.icl.saxon.StyleSheet > SortExprWithCurrentInsideForEach1.xml SortExprWithCurrentInsideForEach1.xsl > type: type-a name: name-a id: 1 > type: type-a name: name-b id: 2 > type: type-b name: name-c id: 3 > type: type-b name: name-e id: 5 > type: type-b name: name-h id: 8 > type: type-c name: name-f id: 6 > type: type-c name: name-i id: 9 > type: type-d name: name-d id: 4 > $ xsltproc SortExprWithCurrentInsideForEach1.xsl > SortExprWithCurrentInsideForEach1.xml > type: type-a name: name-a id: 1 > type: type-a name: name-b id: 2 > type: type-b name: name-c id: 3 > type: type-b name: name-e id: 5 > type: type-b name: name-h id: 8 > type: type-c name: name-f id: 6 > type: type-c name: name-i id: 9 > type: type-d name: name-d id: 4 > type: type-d name: name-g id: 7 > ~/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/Sorting$ > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
