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:41:30 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MvGqg-0003DN-TN@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7823


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #2 from Michael Kay <mike@saxonica.com>  2009-10-06 20:41:30 ---
I suspect the intended example was

<script>
  document.write("<script bad="&quot;">&lt;<foo>&lt;&gt;</foo>&gt;</script>")
</script>

(Note the absence of "/" before the first ">" on line 2).

For information, Saxon serializes the result of this query (with method=html)
as

<script>
  document.write("<script bad="&#34;"><<foo><></foo>></script>")
   </script>


-- 
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:41:35 UTC

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