[ 
http://issues.apache.org/jira/browse/XALANJ-2335?page=comments#action_12448500 
] 
            
Henry Zongaro commented on XALANJ-2335:
---------------------------------------

The phrase "really important" was a poor choice on my part.  What I ought to 
have said is that nobody has been able to describe a realistic scenario in 
which each element has to have its own unique set of namespace nodes for its 
in-scope namespaces.  All the examples I've seen in the past involved 
stylesheets created specifically to test that aspect of the XPath 
Recommendation; they were not examples drawn from real-world stylesheets that 
were being used put to some useful purpose.  Almost anything that falls outside 
of the former category would have satisfied my criteria for what constitutes 
really important.  So, my thanks to you for providing such an example.

You make an interesting point when you question whether this issue ought to 
have been closed as a duplicate of an earlier issue.  I closed this as a 
duplicate of previous issues because they all represent one and the same bug, 
regardless of the distinct manifestations of the problem.  By closing it as a 
duplicate, I don't intend to make it seem less important.  In fact, I think 
that from the point of view of users, its advantageous to have multiple 
distinct issues closed as duplicates of one bug, despite the fact that they all 
describe distinct symptoms.  That's because users can do things like all vote 
for the one bug that remains open, rather than having their votes diluted 
amongst four distinct bug reports.

Regarding whether those older bugs should have been marked as "wontfix," I 
don't think they should have.  That's why I've not moved to close XALANJ-1962, 
and if anybody else does close it as "wontfix," I will reopen it; it represents 
a valid bug, regardless of whether the namespace axis might have been poorly 
designed.

> Xalan-J incorrectly identifies the parents of namespace nodes
> -------------------------------------------------------------
>
>                 Key: XALANJ-2335
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2335
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XPath
>    Affects Versions: 2.7
>            Reporter: Mike Brown
>            Priority: Minor
>
> Xalan-J 2.7.0 incorrectly identifies the parents of namespace nodes.
> A namespace node's parent is supposed to be the element the namespace node is 
> associated with.
> In Xalan, for a namespace node with an empty local-name, parent::* 
> incorrectly identifies the grandparent element. And for a namespace node with 
> local-name 'xml', parent::* incorrectly identifies the document element in 
> every case.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to