title: adding CDATA to an XmlObject
body: <p>I am writing some code that talks to a legacy system that needs the following element:</p>
  
  <pre><code>&lt;BankRate&gt;&lt;![CDATA[        ]]&gt;&lt;BankRate&gt;
  </code></pre>
  
  <p>I can't for the life of me get this working, my attempt so far is:</p>
  
  <pre><code>parent.setBankRate("    ");
  XmlCursor cursor = cc.xgetBankRate().newCursor();
  cursor.toFirstContentToken();
  cursor.setBookmark(CDataBookmark.CDATA_BOOKMARK);
  cursor.dispose();
  </code></pre>
  
  <p>This simply results in the following:</p>
  
  <pre><code>&lt;BankRate&gt;&lt;BankRate&gt;
  </code></pre>
  
  <p>The options for the parent is:
      setSaveCDataEntityCountThreshold(0).setSaveCDataLengthThreshold(0);</p>
  
  <p>If I setBankRate like the following:</p>
  
  <pre><code>cc.setBankRate("&lt;![CDATA[        ]]&gt;");
  </code></pre>
  
  <p>I get character entities (which is not what I want)</p>