Author: atsushi
Date: 2006-03-23 07:54:37 -0500 (Thu, 23 Mar 2006)
New Revision: 58353

Modified:
   trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/ChangeLog
   trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/NvdlXsdSupport.cs
Log:
2006-03-23  Atsushi Enomoto <[EMAIL PROTECTED]>

        * NvdlXsdSupport.cs : seems like "XmlReaderSettings.ValidationType =
          ValidationType.Auto" does not automatically start xsd validation,
          so set the property explicitly as ValidationType.Schema.



Modified: trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/ChangeLog
===================================================================
--- trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/ChangeLog      
2006-03-23 12:54:07 UTC (rev 58352)
+++ trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/ChangeLog      
2006-03-23 12:54:37 UTC (rev 58353)
@@ -1,3 +1,9 @@
+2006-03-23  Atsushi Enomoto <[EMAIL PROTECTED]>
+
+       * NvdlXsdSupport.cs : seems like "XmlReaderSettings.ValidationType =
+         ValidationType.Auto" does not automatically start xsd validation,
+         so set the property explicitly as ValidationType.Schema.
+
 2006-03-03  Atsushi Enomoto <[EMAIL PROTECTED]>
 
        * NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.

Modified: trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/NvdlXsdSupport.cs
===================================================================
--- trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/NvdlXsdSupport.cs      
2006-03-23 12:54:07 UTC (rev 58352)
+++ trunk/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Nvdl/NvdlXsdSupport.cs      
2006-03-23 12:54:37 UTC (rev 58353)
@@ -43,7 +43,7 @@
                {
 #if NET_2_0
                        XmlReaderSettings s = new XmlReaderSettings ();
-                       s.ValidationType = ValidationType.Auto;
+                       s.ValidationType = ValidationType.Schema;
                        // do not allow inline schema and schemaLocation.
                        s.ValidationFlags = 
XmlSchemaValidationFlags.ProcessIdentityConstraints;
                        s.XmlResolver = resolver;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to