<?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>18437</bug_id>
          
          <creation_ts>2012-07-30 12:56:44 +0000</creation_ts>
          <short_desc>XML serialization of text node does no escaping</short_desc>
          <delta_ts>2012-08-02 10:30:30 +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>All</rep_platform>
          <op_sys>All</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="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Ms2ger">Ms2ger</assigned_to>
          <cc>jab_creations</cc>
    
    <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>71656</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-07-30 12:56:44 +0000</bug_when>
    <thetext>It should probably say to replace &lt;&gt;&amp; with their respective entities.  This might well not be what browsers do, though.  I received a complaint that they overescape, e.g., nbsp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71657</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-07-30 12:58:34 +0000</bug_when>
    <thetext>Hmm, maybe browsers escape any non-ASCII characters because they don&apos;t know what the encoding will be?  That would make sense, although it&apos;s horribly annoying if you use many non-ASCII chars.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71764</commentid>
    <comment_count>2</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-08-02 10:30:30 +0000</bug_when>
    <thetext>https://bitbucket.org/ms2ger/dom-parsing-and-serialization/changeset/01751a512fa6599ba5ec2f81be6370b7

(Note that HTML over-escapes nbsp explicitly: &lt;http://www.whatwg.org/html/#escapingString&gt;)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>