title: CDATA XML is truncated while parsing
body: <p>I'm using a SAX parser (on android) to parse an xml file from an WebService. On some elements the CDATA is truncated and not complete, e.g. the XML-file contains data like </p>
  
  <pre><code> &lt;name&gt;&lt;![CDATA[Gölsder und Ginck GmbH]]&gt;&lt;/name&gt; 
  </code></pre>
  
  <p>and after parsing the xml file with </p>
  
  <pre><code>public void characters(char[] ch, int start, int length)
     throws SAXException {
     super.characters(ch, start, length);
     String text = new String(ch, start, length);
  </code></pre>
  
  <p>the text only contains "Gölsder und Gin" (the first 15 characters). I debugged it with eclipse and i see that the whole string is not contained in the "char[] ch" argument of the method. so the parsing itself seems to have an error</p>