<?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>7488</bug_id>
          
          <creation_ts>2009-09-03 14:41:28 +0000</creation_ts>
          <short_desc>&quot;These are the only ways to make a DOM unserializable.&quot; - this is not correct so long as DOM Core allows nodes to be moved from an HTML document to an XML document without serializability checking</short_desc>
          <delta_ts>2010-10-04 14:46:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://whatwg.org/specs/web-apps/current-work/#serializing-xhtml-fragments</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26813</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-03 14:41:28 +0000</bug_when>
    <thetext>Section: http://whatwg.org/specs/web-apps/current-work/#serializing-xhtml-fragments

Comment:
&quot;These are the only ways to make a DOM unserializable.&quot; - this is not correct so long as DOM Core allows nodes to be moved from an HTML document to an XML document without serializability checking

Posted from: 83.252.193.59</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27461</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-22 00:32:21 +0000</bug_when>
    <thetext>Tried to fix this. Let me know if I missed any remaining cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27462</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-22 00:32:28 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r3951.
Check-in comment: If you move a node from an HTML doc to an XML doc, you can create nodes with names you otherwise could not. So we have to handle that case also.
http://html5.org/tools/web-apps-tracker?from=3950&amp;to=3951
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27532</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-09-22 11:27:07 +0000</bug_when>
    <thetext>Still missing:

* A DocumentType node with a name that does not match QName.
* A DocumentType node hat has an external subset system identifier that does not match the XML Char production. (&quot;[^...]&quot; is subtracted from Char.)
* An Attr node with no namespace and a local name &quot;xmlns&quot;
* An Element node that has two (or more) Attr nodes with the same local name and namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27602</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-09-23 06:19:20 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; * A DocumentType node with a name that does not match QName.

Strike this point. (Can&apos;t move doctypes between documents.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27729</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-28 19:41:27 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27730</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-28 19:42:01 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r4008.
Check-in comment: Add some more cases that lead to unserializable DOMs.
http://html5.org/tools/web-apps-tracker?from=4007&amp;to=4008
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>