2003-11-02 Pedro Mart�nez Juli� <yoros@wanadoo.es>
[mono.git] / mcs / class / System.XML / System.Xml / XmlEntity.cs
index ac597b8b3935fa55ee6445340b5c711682a9019e..e0453ec672586beb36d20ceb1ae916781d7d8eda 100755 (executable)
@@ -17,7 +17,7 @@ namespace System.Xml
                                    XmlDocument doc)
                        : base (doc)
                {
-                       this.name = name;
+                       this.name = doc.NameTable.Add (name);
                        this.NDATA = NDATA;
                        this.publicId = publicId;
                        this.systemId = systemId;
@@ -43,9 +43,8 @@ namespace System.Xml
                        get {  return baseUri; }
                }
 
-               [MonoTODO]
                public override string InnerText {
-                       get { throw new NotImplementedException (); }
+                       get { return base.InnerText; }
                        set { throw new InvalidOperationException ("This operation is not supported."); }
                }