* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaSimpleContent.cs
old mode 100755 (executable)
new mode 100644 (file)
index 485dcf1..81ee0a0
@@ -43,8 +43,8 @@ namespace System.Xml.Schema
                {\r
                }\r
 \r
-               [XmlElement("restriction",typeof(XmlSchemaSimpleContentRestriction),Namespace=XmlSchema.Namespace)]\r
-               [XmlElement("extension",typeof(XmlSchemaSimpleContentExtension),Namespace=XmlSchema.Namespace)]\r
+               [XmlElement("restriction",typeof(XmlSchemaSimpleContentRestriction))]\r
+               [XmlElement("extension",typeof(XmlSchemaSimpleContentExtension))]\r
                public override XmlSchemaContent Content \r
                {\r
                        get{ return  content; } \r
@@ -57,7 +57,7 @@ namespace System.Xml.Schema
                internal override int Compile(ValidationEventHandler h, XmlSchema schema)\r
                {\r
                        // If this is already compiled this time, simply skip.\r
-                       if (this.IsComplied (schema.CompilationId))\r
+                       if (CompilationId == schema.CompilationId)\r
                                return 0;\r
 \r
                        if(Content == null)\r