title: XmlStreamReader not reading complete text value
body: <p>It seems like this question has come up before as I see in <a href="https://stackoverflow.com/questions/2938398/reading-escape-characters-with-xmlstreamreader">Reading escape characters with XMLStreamReader</a></p>
  
  <p>But the issue I am seeing here is little different.</p>
  
  <p>I am reading a pretty big XML file which contains a large snippet of malformed html as one of the tag values. The values are enclosed in CDATA and normally they do not cause any issue. But intermittently, getText method of XMLSTreamReader class reads only half of the text in this CDATA and the first character in next batch is as an exmaple : "&lt;table&gt;" which the parser treats as Start node instead of Character causing the parsing to fail.</p>
  
  <p>Has anyone encountered this issue with Stax parser before. I am using sjsxp1.0.1 implementation on jdk1.,5</p>
  
  <p>Any help or wild ideas would be appreciated as I am out of all ideas now.</p>