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

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