[ http://issues.apache.org/jira/browse/XALANJ-1970?page=all ]

Brian Minchau updated XALANJ-1970:
----------------------------------

    Fix Version: 2.7

> Xalan throws NullPointerException when processing OASIS test case 
> SortExprWithCurrentInsideForEach1
> ---------------------------------------------------------------------------------------------------
>
>          Key: XALANJ-1970
>          URL: http://issues.apache.org/jira/browse/XALANJ-1970
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: 2.6
>     Reporter: elharo
>      Fix For: 2.7
>  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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to