You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by xa...@xml.apache.org on 2004/09/20 02:18:37 UTC

[jira] Created: (XALANJ-1952) OASIS test case BVTs_bvt054 failure

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1952
    Summary: OASIS test case BVTs_bvt054 failure
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2

   Assignee: 
   Reporter: elharo

    Created: Sun, 19 Sep 2004 5:17 PM
    Updated: Sun, 19 Sep 2004 5:17 PM

Description:
Libxslt handles this one and generates the expected output.

java -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar -classpath /opt/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar org.apache.xalan.xslt.Process -IN data.xml -XSL name.xsl

file:///Users/elharo/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/BVTs/name.xsl; Line #11; Column #54; XSLT Error (javax.xml.transform.TransformerException): Attempting to generate a namespace prefix with a null URI




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


[jira] Updated: (XALANJ-1952) OASIS test case BVTs_bvt054 failure

Posted by xa...@xml.apache.org.
The following issue has been updated:

    Updater: elharo (mailto:elharo@metalab.unc.edu)
       Date: Sun, 19 Sep 2004 5:18 PM
    Comment:
Here's the XSL. Any XML file will do as input. 
    Changes:
             Attachment changed to name.xsl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XALANJ-1952?page=history

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1952
    Summary: OASIS test case BVTs_bvt054 failure
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2

   Assignee: 
   Reporter: elharo

    Created: Sun, 19 Sep 2004 5:17 PM
    Updated: Sun, 19 Sep 2004 5:18 PM

Description:
Libxslt handles this one and generates the expected output.

java -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar -classpath /opt/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar org.apache.xalan.xslt.Process -IN data.xml -XSL name.xsl

file:///Users/elharo/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/BVTs/name.xsl; Line #11; Column #54; XSLT Error (javax.xml.transform.TransformerException): Attempting to generate a namespace prefix with a null URI




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


[jira] Updated: (XALANJ-1952) OASIS test case BVTs_bvt054 failure

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-1952?page=history ]

Brian Minchau updated XALANJ-1952:
----------------------------------

    Component: transformation
               Xalan-interpretive

Updated the components.

> OASIS test case BVTs_bvt054 failure
> -----------------------------------
>
>          Key: XALANJ-1952
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1952
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation, Xalan-interpretive
>     Reporter: elharo
>  Attachments: name.xsl
>
> Libxslt handles this one and generates the expected output.
> java -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar -classpath /opt/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar org.apache.xalan.xslt.Process -IN data.xml -XSL name.xsl
> file:///Users/elharo/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/BVTs/name.xsl; Line #11; Column #54; XSLT Error (javax.xml.transform.TransformerException): Attempting to generate a namespace prefix with a null URI

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


[jira] Commented: (XALANJ-1952) OASIS test case BVTs_bvt054 failure

Posted by xa...@xml.apache.org.
The following comment has been added to this issue:

     Author: Morris Kwan
    Created: Thu, 23 Sep 2004 8:55 AM
       Body:
In line 11 of the sample stylesheet, "xmlns" is used as the namespace prefix:

<xsl:attribute name="xmlns:bar" namespace=""></xsl:attribute>

According to the XSLT 1.0 spec, section 7.1.3:

The name attribute is interpreted as an attribute value template. It is an error if the string that results from instantiating the attribute value template is not a QName or is the string xmlns. An XSLT processor may signal the error; if it does not signal the error, it must recover by not adding the attribute to the result tree.

Xalan treats this as an error and throw a TranformerException. Libxslt2 chooses to recover by not adding the attribute to the result tree. Both behaviors are correct according to the spec. Here the error message from Xalan is a little misleading though. If you are complaining about this, we can try to emit a better message.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1952?page=comments#action_53362

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1952
    Summary: OASIS test case BVTs_bvt054 failure
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2

   Assignee: 
   Reporter: elharo

    Created: Sun, 19 Sep 2004 5:17 PM
    Updated: Thu, 23 Sep 2004 8:55 AM

Description:
Libxslt handles this one and generates the expected output.

java -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar -classpath /opt/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar org.apache.xalan.xslt.Process -IN data.xml -XSL name.xsl

file:///Users/elharo/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/BVTs/name.xsl; Line #11; Column #54; XSLT Error (javax.xml.transform.TransformerException): Attempting to generate a namespace prefix with a null URI




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