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:54:38 UTC

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

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