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

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 UTC