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 3689 - [XSLT] step 12 of constructing complex content
Summary: [XSLT] step 12 of constructing complex content
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 20:58 UTC by Joanne Tong
Modified: 2006-09-14 23:19 UTC (History)
0 users

See Also:


Attachments

Description Joanne Tong 2006-09-08 20:58:40 UTC
Step 12 in constructing complex content reads

"If the newly constructed node is an element node, and if namespaces are inherited, then each namespace node of the newly constructed element (including any produced as a result of the namespace fixup process) is copied to each descendant element of the newly constructed element, unless that descendant element or an intermediate element already has a namespace node with the same name (or absence of a name)"

From the way this step is written, a namespace node is copied even when a descendant element has xmlns="".

I think it should say:

"If the newly constructed node is an element node, and if namespaces are inherited, then each namespace node of the newly constructed element (including any produced as a result of the namespace fixup process) is copied to each descendant element of the newly constructed element, unless that descendant element or an intermediate element already has a namespace node with the same name (or absence of a name), or that descendant element or an intermediate element is in no namespace and the namespace node has no name."
Comment 1 Michael Kay 2006-09-08 22:25:45 UTC
I think you're probably right.
Comment 2 Michael Kay 2006-09-14 17:59:44 UTC
The proposal in the original bug entry was accepted at today's telcon.
Comment 3 Michael Kay 2006-09-14 23:19:49 UTC
Spec now updated