[Bug 25149] Normative references to unstable documents must be removed before publication

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25149

--- Comment #8 from Michael Kay <mike@saxonica.com> ---
Well, the XSLT code actually does what most people would expect, and it's only
a few people like you and me who would worry about how it manages to achieve
this.

Basically, if the stylesheet outputs an attribute in (say) the SVG namespace,
then namespace fixup (section 5.8.3 in the 3.0 spec) ensures that the
containing element will have a namespace node for the SVG namespace, and
namespace inheritance (rule 12 of 5.8.1) ensures that its descendant elements
will also have one.

The namespaces are not present in the output in the absence of such an
attribute because neither <xsl:element> and <xsl:copy copy-namespaces="no">
copies namespaces from the source to the result; in both cases the only
namespace nodes on the constructed element will be those generated by namespace
fixup or namespace inheritance.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 27 March 2014 08:17:40 UTC