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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11909

--- 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
parenthesis? 

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
XML[[

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