Fixes the build on windows. Someone should check if this is correct.
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 2 Dec 2002 15:40:19 +0000 (15:40 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 2 Dec 2002 15:40:19 +0000 (15:40 -0000)
svn path=/trunk/mcs/; revision=9346

mcs/class/System.Data/System.Xml/XmlDataDocument.cs

index 8880f42a18d0323d03d62d14c73f09b9d44d8186..b3224fee9c372aef499dff559cbec2152ad42321 100644 (file)
@@ -145,7 +145,7 @@ namespace System.Xml {
                                throw new ArgumentException ("The local name for elements or attributes cannot be null" +
                                                             "or an empty string.");
                        string pref = prefix != null ? prefix : String.Empty;
-                       return new XmlElement (pref, localName, namespaceURI != null ? namespaceURI : String.Empty, this);
+                       return base.CreateElement (pref, localName, namespaceURI != null ? namespaceURI : String.Empty);
 
                }