W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2009

[Bug 7823] [SER] Description of escaping rules for script and style elements in HTML mode not clear

From: <bugzilla@wiggum.w3.org>
Date: Tue, 06 Oct 2009 20:06:40 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MvGIy-0000D2-EL@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7823


Michael Dyck <jmdyck@ibiblio.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdyck@ibiblio.org




--- Comment #1 from Michael Dyck <jmdyck@ibiblio.org>  2009-10-06 20:06:40 ---
> For example, how should the following query be serialized in HTML mode?
> 
> <script>
>   document.write("<script bad="&quot;"/>&lt;<foo>&lt;&gt;</foo>&gt;</script>")
> </script>

When you say "query", do you mean that this should be interpreted as a query in
XQuery? Because it appears to raise a syntax error. (The "</script>" on the
second line ends the direct constructor, whereupon the '"' is illegal.)  


-- 
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 Tuesday, 6 October 2009 20:06:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:41 UTC