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 9412 - propagateNamespaces02
Summary: propagateNamespaces02
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:16 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:16:41 UTC
I believe the <w> section of the result should be

<w>a-one b-one</w>

rather than

<w/>

I can't see any reason for the latter result; these namespaces are present on the original <v> element, and there is no reason why adding a child to the <v> element should affect them.
Comment 1 Josh Spiegel 2010-04-06 14:20:42 UTC
My understanding is that when <w> is constructed, it has no namespace bindings.  When it is inserted into <v>, it will not gain any namespace bindings by upd:propagateNamespaces as the prolog specifies a copy-namespaces mode of "no-inherit"

Could you please clarify why you would expect "a"="a-one" and "b"="b-one" to be in the namespaces property of <w>?  Thanks.
Comment 2 Michael Kay 2010-04-06 14:46:06 UTC
Sorry, I was confused. Bug withdrawn.
Comment 3 Josh Spiegel 2010-04-06 14:59:29 UTC
No worries.  I am glad you are reviewing the tests.