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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]