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

[Bug 11910] @id values in polyglot markup should be XML-valid (or not?)

From: <bugzilla@jessica.w3.org>
Date: Sun, 30 Jan 2011 13:09:05 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PjX1d-0006Vj-VK@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11910

--- Comment #5 from David Carlisle <davidc@nag.co.uk> 2011-01-30 13:09:05 UTC ---
(In reply to comment #4)
 what do you think about splitting the document as I suggested?

I think the document should only concern itself with conforming html(5)
documents. Otherwise it will get totally out of hand, for example, the
following fragment

<p>aaa<ul><li></li></ul>kkk</p>

is well formed xml with wildly incompatible xml and html dom. This (along with
most of the "special parsing rules" of the html parser are not covered by the
rules in the polyglot spec. This is OK so long as the polyglot spec only
concerns itself with conforming documents. The above fragment is not conforming
html because of the </p>.

Unfortunately the document is still not sufficiently explicit that the rules
that it gives are only sufficient to produce compatible DOM if the document is
well formed xml and conforming html.

-- 
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 Sunday, 30 January 2011 13:09:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 January 2011 13:09:16 GMT