- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 06 Oct 2009 17:45:18 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7823 Summary: [SER] Description of escaping rules for script and style elements in HTML mode not clear Product: XPath / XQuery / XSLT Version: 2nd Edition Recommendation Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: Serialization AssignedTo: zongaro@ca.ibm.com ReportedBy: oliver@cbcl.co.uk QAContact: public-qt-comments@w3.org The spec says "The HTML output method MUST NOT perform escaping for the content of the script and style elements." It is not clear in this context what "escaping for the content" means. If the content contains an element, are its attribute values escaped or not? For example, how should the following query be serialized in HTML mode? <script> document.write("<script bad="""/><<foo><></foo>></script>") </script> I assume this should be serialized as follows, with the "no escaping" only applying to text node children of script elements: <script> document.write("<script bad="""/><<foo>><</foo>></script>") </script> Am I right in this assumption? -- 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 17:45:19 UTC