[Bug 10788] @srcdoc in polyglot documents

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

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-01-21 06:15:20 UTC ---
HTML5 now says:

http://dev.w3.org/html5/spec/the-iframe-element.html#process-the-iframe-attributes

]] Due to restrictions of the XML syntax, in XML the U+003C LESS-THAN SIGN
character (<) needs to be escaped as well. In order to prevent attribute-value
normalization, some of XML's whitespace characters — specifically U+0009
CHARACTER TABULATION (HT), U+000A LINE FEED (LF), and U+000D CARRIAGE RETURN
(CR) — also need to be escaped. [XML] [[

Btw, this bug also directly relates to  bug 9965. As such the issue could be
seen as being covered by bug 9965.

However, if you don't objecet, then I would suggest adding a note specifically
about @srcdoc, as it is a very new, anti-pattern-ish attribute. 

May be you could solve this issue as part of solving bug 9965.  That is, I
think you could specifically mention @srcdoc under secftion 7:
http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#attributes 
E.g. add, there, that escaping of tabs, line-feed and carriage-return is a
particulary relevant with regard to @srcdoc.

Either that or make separate in another place in the document.

-- 
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 Friday, 21 January 2011 06:15:21 UTC