W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

[Bug 11909] The principles of Polyglot Markup - validity? well-formed? DOM-equality?

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Feb 2011 11:32:04 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Powey-0005yq-Lx@jessica.w3.org>

--- Comment #13 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-02-14 11:32:00 UTC ---
(In reply to comment #12)

> 2) You write '(with the exception of the xmlns attribute on the root element)'
>      Could you rephrase that parenthesis to express that xmlns is not only
> permitted on the root element? As you know, it is also required for SVG, MATHML
> etc.
>      May be the very simplest change would be to say "a root element" instead
> of "the root element". However, some wil perhaps think that "root" = <html>

However, there are some additional exceptions, such as 'xml:lang'. Perhaps you
could state the exception as a more general principle, and also, outside a

Thus, I hereby suggest that you replace:
        ]]* results in identical DOMs (with the exception of the xmlns
attribute on the root element) when processed as HTML and when processed as

With something like the following:
      ]]* results in identical DOMs, with the exception of some XML (xml:lang,
xml:space and xml:base), XMLNS (xmlns="" and xmlns:xlink="") and XLINK (such as
xlink:href) attributes that which XML requires and which HTML5 permits in
certain locations and which, nevertheless, are preserved by HTML parsers[[

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 14 February 2011 11:32:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:41 UTC