You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "elharo (JIRA)" <xa...@xml.apache.org> on 2004/11/20 00:12:38 UTC

[jira] Updated: (XALANJ-1970) Xalan throws NullPointerException when processing OASIS test case SortExprWithCurrentInsideForEach1

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

elharo updated XALANJ-1970:
---------------------------

    Attachment: parts.xml

Here's the requested file.

> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org