[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 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