[Bug 8806] New: iframe srcdoc examples

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8806

           Summary: iframe srcdoc examples
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/Overview.html#the-iframe-
                    element
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: julian.reschke@gmx.de
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


"In the HTML syntax, authors need only remember to use U+0022 QUOTATION MARK
characters (") to wrap the attribute contents and then to escape all U+0022
QUOTATION MARK (") and U+0026 AMPERSAND (&) characters, and to specify the
sandbox attribute, to ensure safe embedding of content."

It would be great if the example would also include a case of a URI contained
in an href attribute, containing an ampersand (double escaping may be needed).

"Due to restrictions of the XML syntax, in XML a number of other characters
need to be escaped also to ensure correctness."

Why not tell the reader which? (anything except less-than?)

(Note that this comment does not imply that I think @srcdoc should stay in the
spec; but if it stays the examples should be improved)


-- 
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 Sunday, 24 January 2010 20:04:52 UTC