diff options
author | Kral Ferch <kral@mono-cvs.ximian.com> | 2002-04-06 08:19:40 +0400 |
---|---|---|
committer | Kral Ferch <kral@mono-cvs.ximian.com> | 2002-04-06 08:19:40 +0400 |
commit | c8e79373543589cf55cf3de331c4047d359300c9 (patch) | |
tree | 7a3b2604562a329c2ad8de923bf2e3443f13b9ba /mcs/class/System.XML/System.Xml/XmlCharacterData.cs | |
parent | 76cfd86852ba001cc3752572d77ee501f727122c (diff) |
Implementation of XmlDocument.CreateNode()
svn path=/trunk/mcs/; revision=3650
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlCharacterData.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlCharacterData.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlCharacterData.cs b/mcs/class/System.XML/System.Xml/XmlCharacterData.cs index 5fc8e20dbe7..861f1d143eb 100644 --- a/mcs/class/System.XML/System.Xml/XmlCharacterData.cs +++ b/mcs/class/System.XML/System.Xml/XmlCharacterData.cs @@ -20,6 +20,9 @@ namespace System.Xml protected internal XmlCharacterData (string data, XmlDocument doc) : base (doc) { + if (data == null) + data = String.Empty; + this.data = data; } |