You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.
Execute the following code:
GDataXMLElement *test = [GDataXMLNode elementWithName:@"test"];
[test setStringValue:@"test & test"];
NSLog(@"XMLString = %@", [test XMLString]);
What is the expected output? What do you see instead?
Expected output:
XMLString = <test>test & amp</test>
Actual output:
error : unterminated entity reference test
XMLString = <test>test </test>
Additional information:
After changing line 407 of GDataXMLNode.m to
xmlNodeSetContent(xmlNode_, xmlEncodeSpecialChars(NULL,
GDataGetXMLString(str)));
the above example works as expected.
Original issue reported on code.google.com by [email protected] on 31 May 2012 at 1:46
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 31 May 2012 at 1:46The text was updated successfully, but these errors were encountered: