Monday, September 23, 2013

Use NSXMLParase can not parse out the xml file

Within the company recently made an instant chat tool development. Received from the server to other clients information is sent over the xml file format. Chat message tag inside information content exists. Web generally recommended for three methods overridden NSXMLParasedelegate.
After using correctly parse message in a text message. But not parse expression and expression behind the content. For example big / sad hh , only parse out the big, only one expression is null.
I do not know are there any god familiar. Give advice, thank you
Reply:
big / sad hh
Wrong, right? Should be
big / sad hh
Reply:
Yes, but, and this has nothing to do ah. Program which is right.
Reply:
Is it because the escape character? Or cause a special character,
Also ask a question, you use a custom protocol, or do you see IP Messenger protocol or autumn fly?
Reply:
Incoming resolve before transcoding to utf8 look, if not, to add an xml xml snippet in the head before the look

No comments:

Post a Comment