This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9413 - propagateNamespaces06
Summary: propagateNamespaces06
Status: RESOLVED INVALID
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 14:26 UTC by Michael Kay
Modified: 2010-04-06 14:59 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2010-04-05 14:26:05 UTC
REFERENCE RESULTS:
<result xmlns="bar"><x>foo a-ns</x><y>bar</y></result>

CORRECT RESULTS (I believe):
<result xmlns="bar"><x>foo a-ns</x><y>bar a-ns</y></result>

The difference is the a-ns namespace on the <y> element. This is not present on the original <y> element; it appears to have been inherited from the new parent <x> element. But the query has "declare copy-namespaces preserve, no-inherit;", so I believe the inheritance should not occur.
Comment 1 Josh Spiegel 2010-04-06 13:49:15 UTC
Michael, could you please clarify?  In the REFERENCE/CORRECT results section you indicate it should be "<y>bar a-ns</y>" and not "<y>bar</y>".  However, in the text that follows you state the inheritance of "a"="a-ns" should not occur (seemingly meaning "<y>bar</y>" is correct).
Comment 2 Michael Kay 2010-04-06 14:09:39 UTC
You're quite right. I got it the wrong way round. Sorry for the noise.
Comment 3 Josh Spiegel 2010-04-06 14:59:09 UTC
No worries.  I am glad you are reviewing the tests.