\r
namespace System.Xml\r
{\r
- public class XmlDocumentType : XmlLinkedNode\r
+ public class XmlDocumentType : XmlLinkedNode\r
{\r
// Fields\r
string name; // name of the document type\r
string publicId; // public identifier on the DOCTYPE\r
string systemId; // system identifier on the DOCTYPE\r
string internalSubset; // value of the DTD internal subset\r
- XmlDocument document;\r
\r
- // Constructor \r
- protected internal XmlDocumentType (string name, string publicId, string systemId,\r
- string internalSubset, XmlDocument doc)\r
- : base () \r
+ // Constructor\r
+ protected internal XmlDocumentType (string name, string publicId,\r
+ string systemId, string internalSubset,\r
+ XmlDocument doc)\r
+ : base (doc)\r
{\r
this.name = name;\r
this.publicId = publicId;\r
this.systemId = systemId;\r
this.internalSubset = internalSubset;\r
- this.document = doc;\r
}\r
\r
\r
}\r
\r
// Methods\r
- [MonoTODO]\r
public override XmlNode CloneNode (bool deep)\r
{\r
- return null;\r
+ // deep is ignored\r
+ return new XmlDocumentType (name, publicId, systemId,\r
+ internalSubset, OwnerDocument);\r
}\r
-\r
- [MonoTODO]\r
+ \r
public override void WriteContentTo (XmlWriter w)\r
{\r
+ // No effect\r
}\r
\r
[MonoTODO]\r