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 12:57:00 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PoxzA-0001CI-FN@jessica.w3.org>

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

Another suggestion: could you examplify some of the consequence of the
"indelcal DOMs" principle? In a way, I think you already expamplify some of the
consequences in the paragraph which starts with "All web content need not be
authored in polyglot markup."  But you could add more.

Looking at the 10 principles I formulated in Comment 5 and Comment 6, several
of them could be described as consequences of the "identical DOMs" principle.
And my proposal is that you mention some excerpts of those principle as
examples of what the 'identical DOM' principle leads to:  

3) scripted according to the rules of XML (no document.write)
4) triggers non-quirks mode in HTML parsers - since quirks doesn't exist in
6) rules out…HTML-elements…impossible to replicate in…XML…
     // As well as REQUIRES some element which HTML allows you to skip. //
7) results in…same encoding and…same language in…HTML…and…XML
10) Authoring equality/"file URL parsing equality" = only UTF-8 and UTF-16 are
RECOMMENDED (= SHOULD in per RFC language).

You could also add that some, but not all, of these consequnces are are taken
care of if the document is valid HTML5. 

The reason why I think the above selection of 'identical DOMs' consequences
should be mentioned is that they are obvious as well as non-obvious

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 12:57:01 UTC

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