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
staticstringGetNodeTextContents(XmlNoden){if(n.NodeType==XmlNodeType.Text||n.NodeType==XmlNodeType.CDATA){stringcontent=n.Value;//This concatenates any adjacent text/cdata/entity nodesreturncontent??"";}if(n.HasChildNodes){XmlNodeListchildren=n.ChildNodes;stringtext="";foreach(XmlNodechildinchildren){//Skip any non-text nodes, like comments or entitiesif(child.NodeType==XmlNodeType.Text||child.NodeType==XmlNodeType.CDATA){if(child.Value!=null){text+=child.Value;}}}returntext;}return"";}
But it is hard for me to construct testing environment this project... :(
How can I contribute ?
The text was updated successfully, but these errors were encountered:
Hi,
I trying following xml.
I expected "b%]]>def" string and key.
But I got "b%]]"
It is strange.
Because, following CData parsing code is not enough.
https://github.com/claunia/plist-cil/blob/master/plist-cil/XmlPropertyListParser.cs#L201
So, I propose following implementation.
But it is hard for me to construct testing environment this project... :(
How can I contribute ?
The text was updated successfully, but these errors were encountered: