W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2012

[Bug 20261] [Ser 3.0] Usability problem with XHTML 5.0 prefix stripping

From: <bugzilla@jessica.w3.org>
Date: Thu, 06 Dec 2012 09:35:04 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20261-523-6dTRtwYj22@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
A related problem: the rule also states "The serializer MUST serialize a
default namespace declaration for the namespace, unless a default namespace
declaration for the same namespace URI is already in scope for the element in
the serialized result." but fails to say that this namespace declaration must
be cancelled on any descendant elements that use a different default namespace
or none.

I would propose solving these issues by describing the process differently. The
XHTML 5.0 serializer should apply the following transformation to the result
tree prior to serialization:

<xsl:template match="xhtml:* | svg:* | mathml:*">
  <xsl:element name="{local-name()}" namespace-uri="{namespace-uri()}">
    <xsl:copy-of select="@*"/>

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 6 December 2012 09:35:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:50 UTC