projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implementing XmlElement.SetAttributeNode(localName, namespaceURI) and
[mono.git]
/
mcs
/
class
/
System.XML
/
System.Xml
/
XmlNode.cs
diff --git
a/mcs/class/System.XML/System.Xml/XmlNode.cs
b/mcs/class/System.XML/System.Xml/XmlNode.cs
index 292a860a60f13cfa4481917fe179fd947a131f56..d4d39a77aef518963f4a3e34284010eeb8e3f7b9 100644
(file)
--- a/
mcs/class/System.XML/System.Xml/XmlNode.cs
+++ b/
mcs/class/System.XML/System.Xml/XmlNode.cs
@@
-77,12
+77,13
@@
namespace System.Xml
set { throw new NotImplementedException (); }
}
set { throw new NotImplementedException (); }
}
- private void AppendChildValues(XmlNode parent, StringBuilder builder)
+ private void AppendChildValues
(XmlNode parent, StringBuilder builder)
{
XmlNode node = parent.FirstChild;
while (node != null) {
{
XmlNode node = parent.FirstChild;
while (node != null) {
- builder.Append (node.Value);
+ if (node.NodeType == XmlNodeType.Text)
+ builder.Append (node.Value);
AppendChildValues (node, builder);
node = node.NextSibling;
}
AppendChildValues (node, builder);
node = node.NextSibling;
}
@@
-235,7
+236,7
@@
namespace System.Xml
public abstract XmlNode CloneNode (bool deep);
[MonoTODO]
public abstract XmlNode CloneNode (bool deep);
[MonoTODO]
- public
virtual
XPathNavigator CreateNavigator ()
+ public XPathNavigator CreateNavigator ()
{
return new XmlDocumentNavigator(this);
}
{
return new XmlDocumentNavigator(this);
}