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

[Bug 11905] Escaping of "<" and "&" in Polyglot Markup

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Jan 2011 12:19:47 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PinIp-0001oi-0C@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11905

David Carlisle <davidc@nag.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidc@nag.co.uk

--- Comment #1 from David Carlisle <davidc@nag.co.uk> 2011-01-28 12:19:46 UTC ---
(In reply to comment #0)

> Conclusion: State that "<" and "&", when used as  character, always needs to be
> escaped, except when inside CDATA.


I don't think this document should try to explain the requirements of being xml
well formed (or of being html valid) If it states such rules in full, it
becomes vastly larger and if just summarizes them it will get details wrong in
edge cases.

I think the document should just state the _additional_ constraints that need
to be met given a document that is xml well formed and html valid, for it to
give equivalent DOM trees whether parsed as xml or html.

David

-- 
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 Friday, 28 January 2011 12:19:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 28 January 2011 12:19:48 GMT