title: Xstream inserts strange tags in output
body: <p>I have an XML Processing Application ( coded in java) that is supposed to take 2 reports of JavaNcss tool and compile their diff.</p>
  
  <p>The sample XML is as follows :</p>
  
  <pre><code>&lt;objects&gt;
  &lt;object&gt;
  &lt;name&gt;Object Name&lt;/name&gt;
  &lt;ncss&gt;8&lt;/ncss&gt;
  &lt;functions&gt;2&lt;/functions&gt;
  &lt;classes&gt;0&lt;/classes&gt;
  &lt;javadocs&gt;2&lt;/javadocs&gt;
  &lt;/object&gt;
  &lt;/objects&gt;
  </code></pre>
  
  <p>While the application itself is working accurately , I noticed the inclusion of the following tags in the output :</p>
  
  <pre><code>    &lt;object reference="../object[18]"/&gt;
      &lt;object reference="../object[41]"/&gt;
      &lt;object reference="../object[10]"/&gt;
      &lt;object reference="../object[41]"/&gt;
      &lt;object reference="../object[12]"/&gt;
      &lt;object reference="../object[41]"/&gt;
      &lt;object reference="../object[14]"/&gt;
  </code></pre>
  
  <p>I have no clue as to what is causing this trouble. Any help would be greatly appreciated. Thanks in advance.</p>