X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.XML%2FSystem.Xml%2FXmlDocumentType.cs;h=83dbf11c7eaf072516c114862701da768b2f0ced;hb=5a5f87e557cd1b2534c14236c4f3f9d99d4c7d15;hp=f0b2a96f24347321c8d86eb34df084bee10e2625;hpb=d53d26f8b72ef96d2c43bf222bf6306ec528169c;p=mono.git diff --git a/mcs/class/System.XML/System.Xml/XmlDocumentType.cs b/mcs/class/System.XML/System.Xml/XmlDocumentType.cs index f0b2a96f243..83dbf11c7ea 100644 --- a/mcs/class/System.XML/System.Xml/XmlDocumentType.cs +++ b/mcs/class/System.XML/System.Xml/XmlDocumentType.cs @@ -15,18 +15,17 @@ namespace System.Xml string publicId; // public identifier on the DOCTYPE string systemId; // system identifier on the DOCTYPE string internalSubset; // value of the DTD internal subset - XmlDocument document; // Constructor - protected internal XmlDocumentType (string name, string publicId, string systemId, - string internalSubset, XmlDocument doc) - : base (null) + protected internal XmlDocumentType (string name, string publicId, + string systemId, string internalSubset, + XmlDocument doc) + : base (doc) { this.name = name; this.publicId = publicId; this.systemId = systemId; this.internalSubset = internalSubset; - this.document = doc; } @@ -79,15 +78,16 @@ namespace System.Xml } // Methods - [MonoTODO] public override XmlNode CloneNode (bool deep) { - return null; + // deep is ignored + return new XmlDocumentType (name, publicId, systemId, + internalSubset, OwnerDocument); } - - [MonoTODO] + public override void WriteContentTo (XmlWriter w) { + // No effect } [MonoTODO]