Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2008-02-19 07:02:53 +0300
committerAtsushi Eno <atsushieno@gmail.com>2008-02-19 07:02:53 +0300
commitd89e9691acaa89c234ad0230114f57bffa602629 (patch)
treef148c3fd71d148070f06618aeed26c7544047eea /mcs/class/System.XML/System.Xml.Schema
parent000dac4d3a0786079828adfee4b086f3011a01e2 (diff)
2008-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XsdWildcard.cs : block extra compilation and made compilation reset. This somehow fixed bug #360541. * XmlSchemaAny.cs : block extra compilation in anyTypeContent. * XmlSchemasTests.cs : new test file (for bug #360541). * System.Xml_test.dll.sources: added XmlSchemasTests.cs. svn path=/trunk/mcs/; revision=96115
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Schema')
-rw-r--r--mcs/class/System.XML/System.Xml.Schema/ChangeLog4
-rw-r--r--mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs5
2 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/ChangeLog b/mcs/class/System.XML/System.Xml.Schema/ChangeLog
index 9121998be0b..37c4f5ad3cc 100644
--- a/mcs/class/System.XML/System.Xml.Schema/ChangeLog
+++ b/mcs/class/System.XML/System.Xml.Schema/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-19 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XmlSchemaAny.cs : block extra compilation in anyTypeContent.
+
2008-02-04 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : added couple of null argument check.
diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs
index 7d103c1f5ac..8053a45ab8f 100644
--- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs
+++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs
@@ -52,9 +52,10 @@ namespace System.Xml.Schema
anyTypeContent.Namespace = "##any";
anyTypeContent.wildcard.HasValueAny = true;
anyTypeContent.wildcard.ResolvedNamespaces = new StringCollection ();
- // Although it is not documented by W3C, but it should be.
+ // It is not documented by W3C but it should be.
anyTypeContent.wildcard.ResolvedProcessing =
- anyTypeContent.ProcessContents = XmlSchemaContentProcessing.Lax;
+ anyTypeContent.ProcessContents = XmlSchemaContentProcessing.Lax;
+ anyTypeContent.wildcard.SkipCompile = true;
}
return anyTypeContent;
}