<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>testsrc/doctests/473761.doctest</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -203,6 +203,16 @@ class XMLList extends XMLObjectImpl implements Function {
 
             // Update the list with the new item at location 0.
             replace(0, item(0));
+            
+            if (targetObject != null &amp;&amp; targetProperty != null &amp;&amp;
+                targetProperty.getLocalName() != null)
+            {
+                // Now add us to our parent
+                XMLName name2 = XMLName.formProperty(
+                        targetProperty.getNamespace().getUri(),
+                        targetProperty.getLocalName());
+                targetObject.putXMLProperty(name2, this);
+            }
         }
     }
 </diff>
      <filename>xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7fe45aa492f0dd1a85c9b732a96e662f176c0c52</id>
    </parent>
  </parents>
  <author>
    <name>nboyd%atg.com</name>
    <email>nboyd%atg.com</email>
  </author>
  <url>http://github.com/earl/rhino-mirror/commit/e7762e11d777f614ed917b18ebf72d083c28b51f</url>
  <id>e7762e11d777f614ed917b18ebf72d083c28b51f</id>
  <committed-date>2009-01-22T09:45:07-08:00</committed-date>
  <authored-date>2009-01-22T09:45:07-08:00</authored-date>
  <message>Fix and unit test for for Bug 473761 - Bad XML new property creation</message>
  <tree>574b6163f8ddd21a93eb50c96ece7172c3d4ea04</tree>
  <committer>
    <name>nboyd%atg.com</name>
    <email>nboyd%atg.com</email>
  </committer>
</commit>
