java - CDATA XML is truncated while parsing -
I use a suction parser (on android) to parse XML file from a webserver. CDATA is not shortened on some elements, e.g. Like the data in the XML-file
  & lt; Name & gt; & Lt ;! [CDATA [Gölser und Ginck GmbH]] & gt; & Lt; / Name & gt; SAXException {super.characters after parsing the xml file with   and
  public zero characters (four [] ch, int start, int length) (Ch, start, length); String text = new string (ch, start, length);   In this lesson, I only debug it with Eclipse and "Gulser and Jin" (the first 15 letters), and I think the "four [] f" logic of the whole string method I may have an error in your parsing.
 I have also had this problem This is that the  character ()  method can be said multiple times on the same element. In your case, if you want to write it: 
  public zero characters (four [] ch, int start, int length) SAXException {super.characters (ch, start, length); String text = new string (ch, start, length); Log D. ("XMLteST", lesson); }    You will probably receive two log messages, a  Gölsder und gin  and a  ck GmbH . 
In the conclusion, you need to have member variables that you add when you receive new characters.
Comments
Post a Comment