<?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>25141</bug_id>
          
          <creation_ts>2014-03-24 17:46:30 +0000</creation_ts>
          <short_desc>Element serialization is not right for parent-&gt;child elements in the same namespace</short_desc>
          <delta_ts>2014-03-28 21:18:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>DOM Parsing and Serialization</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102846</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-03-24 17:46:30 +0000</bug_when>
    <thetext>Specifically, step 11.2 in the Element serialization is too naïve.

There are cases where default namespace decls can cause the prefix of child to be dropped.

There are cases where the prefix definition is necessary to keep.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102864</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-03-24 22:49:52 +0000</bug_when>
    <thetext>Cases of same-namespace parent/child relationships:

Parent (default ns) --&gt; Child (no prefix) 
&gt; No prefix
Parent (default ns) --&gt; Child (prefix + attr mapping prefix-&gt;different ns)
&gt; Child prefix dropped
Parent (default ns) --&gt; Child (prefix + attr mapping prefix-&gt;same ns)
&gt; Child prefix kept
Parent (prefixed ns) --&gt; Child (no prefix)
&gt; Prefix added to child
Parent (prefixed ns) --&gt; Child (prefix + attr mapping prefix-&gt;different ns)
&gt; Prefix changed to parent&apos;s
Parent (prefixed ns) --&gt; Child (prefix + attr mapping prefix-&gt;same ns)
&gt; No change (child prefix used)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102979</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-03-27 02:12:47 +0000</bug_when>
    <thetext>Fixed in most recent update</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103127</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-03-28 21:18:35 +0000</bug_when>
    <thetext>Note, this was changelist:
https://dvcs.w3.org/hg/innerhtml/rev/f9b5a818ef99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>