2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaInference.cs
index 136ce2b8272f79973c9d92603acb74dd286aa449..c7defa11ea75a0ef0b17c53cd857f37d5b50b91d 100755 (executable)
@@ -216,6 +216,9 @@ namespace System.Xml.Schema
                        }
                        else
                                InferElement (el, qname.Namespace, false);
+
+                       // finally compile again.
+                       schemas.Compile ();
                }
 
                private void IncludeXmlAttributes ()