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

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

     [ http://nagoya.apache.org/jira/browse/XALANJ-1970?page=comments#action_55379 ]
     
Yash Talwar commented on XALANJ-1970:
-------------------------------------

Hi,
I tried the testcase provided with currentCVS version of Xalan.  I don't get NullPointerException.

I do recieve an error about file not being found.  There is a reference to file 'parts.xml' but this file is not provided with the testcase.  Transformation runs and prints following about 9 times:

  type: 
 name:  id: 

Can you please run your testcase with currentCVS version of xalan. Also, please provide parts.xml file.
Thanks!

> 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
>
> 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