Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1970

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1970
    Summary: Xalan throws NullPointerException when processing OASIS test case 
SortExprWithCurrentInsideForEach1
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Fri, 24 Sep 2004 2:41 PM
    Updated: Fri, 24 Sep 2004 2:41 PM

Description:

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$ 


---------------------------------------------------------------------
JIRA INFORMATION:
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

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]

Reply via email to