开发者

Problem with libxml2 and Unicode char in XML Soap with Qotes (") and "

I'm using libxml2 for SOAP-Actions in an iPhone App.

The big problem is that i want send an SQL-Statement with

开发者_如何学编程NSString *query = @"SELECT test FROM database WHERE test = \"string\""

But libxml2 converts the qotes " into "

Any ideas how to prevent this?


Quotations within the texual data of XML are supposed to be converted to ", per the XML specification. The receiver is responsible for converting " back to quotations when extracting the text from the XML.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜