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 23:38:37 UTC

[jira] Created: (XALANJ-1962) problem generating IDs for namespace nodes

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1962
    Summary: problem generating IDs for namespace nodes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan-interpretive parser
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Mon, 20 Sep 2004 2:37 PM
    Updated: Mon, 20 Sep 2004 2:37 PM

Description:
This test case from the OASIS suite incorrectly reports a syntax error. This is XSLTFunctions_GenereateIdAppliedToNamespaceNodesOnDifferentElements.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	
<!-- Purpose: Test case for bug 71216. Namespace nodes on different elements should have different generate-ids. -->

	<xsl:output method="xml" encoding="UTF-8" omit-xml-declaration="no" indent="yes"/>

	<xsl:template match="/">
		<not-equals><xsl:value-of select="generate-id(/bookstore/namespace::my) != generate-id(/bookstore/book/namespace::my)" /></not-equals>
	</xsl:template>
</xsl:stylesheet>


---------------------------------------------------------------------
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] Commented: (XALANJ-1962) problem generating IDs for namespace nodes

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

     Author: David Bertoni
    Created: Mon, 20 Sep 2004 2:53 PM
       Body:
This is a known limitation in Xalan-J's implementation of the XPath data model.  Instead of having unique namespace node on every element for an in-scope namespace, it creates one namespace node on the element where the namespace is declared.

See the test xml-xalan/test/tests/conf/idkey31.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1962?page=comments#action_53263

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1962
    Summary: problem generating IDs for namespace nodes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan-interpretive parser
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Mon, 20 Sep 2004 2:37 PM
    Updated: Mon, 20 Sep 2004 2:53 PM

Description:
This test case from the OASIS suite incorrectly reports a syntax error. This is XSLTFunctions_GenereateIdAppliedToNamespaceNodesOnDifferentElements.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	
<!-- Purpose: Test case for bug 71216. Namespace nodes on different elements should have different generate-ids. -->

	<xsl:output method="xml" encoding="UTF-8" omit-xml-declaration="no" indent="yes"/>

	<xsl:template match="/">
		<not-equals><xsl:value-of select="generate-id(/bookstore/namespace::my) != generate-id(/bookstore/book/namespace::my)" /></not-equals>
	</xsl:template>
</xsl:stylesheet>


---------------------------------------------------------------------
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] Commented: (XALANJ-1962) problem generating IDs for namespace nodes

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

     Author: Joe Kesselman
    Created: Tue, 21 Sep 2004 6:15 AM
       Body:
This is an accepted divergence of long standing.

As far as I know, there is *NO* implementation that fully complies on this point, since doing so would be inherently inefficient and since almost nobody but a conformance test actually cares. 

The XPath Working Group itself has more-or-less conceded that their definition of the namespace axis was a design mistake. XPath 2.0 is introducing non-node-based access to namespaces, and is starting to phase out the namespace axis, which will make this a moot point.

So the "fix" we prefer is to wait for XPath 2.0 to catch up with what the industry is actually doing.

Recommended resolution: WONTFIX. (And, given the lack of real-world demand, I'd kick the priority down a notch or two as well.)
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1962?page=comments#action_53278

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1962
    Summary: problem generating IDs for namespace nodes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan-interpretive parser
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Mon, 20 Sep 2004 2:37 PM
    Updated: Tue, 21 Sep 2004 6:15 AM

Description:
This test case from the OASIS suite incorrectly reports a syntax error. This is XSLTFunctions_GenereateIdAppliedToNamespaceNodesOnDifferentElements.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	
<!-- Purpose: Test case for bug 71216. Namespace nodes on different elements should have different generate-ids. -->

	<xsl:output method="xml" encoding="UTF-8" omit-xml-declaration="no" indent="yes"/>

	<xsl:template match="/">
		<not-equals><xsl:value-of select="generate-id(/bookstore/namespace::my) != generate-id(/bookstore/book/namespace::my)" /></not-equals>
	</xsl:template>
</xsl:stylesheet>


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