<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28227</bug_id>
          
          <creation_ts>2015-03-16 13:37:31 +0000</creation_ts>
          <short_desc>Shouldn&apos;t srcdoc in XHTML be parsed as XML, since the authoring requirements require the value to be XML?</short_desc>
          <delta_ts>2015-09-01 15:14:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#process-the-iframe-attributes</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118622</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-03-16 13:37:31 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/embedded-content.html
Multipage: https://html.spec.whatwg.org/multipage/#process-the-iframe-attributes
Complete: https://html.spec.whatwg.org/#process-the-iframe-attributes
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
Shouldn&apos;t srcdoc in XHTML be parsed as XML, since the authoring requirements
require the value to be XML?
&lt;http://www.w3.org/mid/550315FA.50400@mit.edu&gt;

Posted from: 212.247.211.200 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.74 Safari/537.36 OPR/28.0.1750.36 (Edition beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119101</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-03-30 23:15:57 +0000</bug_when>
    <thetext>Interesting. Good question. Dunno. Definitely the two should be consistent, but which should it be?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119144</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-03-31 14:47:38 +0000</bug_when>
    <thetext>It seems the spec has been like this since srcdoc was first added.

https://html5.org/r/4619

Current implementations parse as HTML.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3476

innerHTML uses XML parsing in XML documents.

I don&apos;t have a strong opinion either way. I would have expected XML parsing, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122984</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-01 15:14:10 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/pull/77</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>