2004-01-13 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 13 Jan 2004 09:03:46 +0000 (09:03 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 13 Jan 2004 09:03:46 +0000 (09:03 -0000)
* XsdValidatingReader.cs : Throw exception only in case of errors.

svn path=/trunk/mcs/; revision=22011

mcs/class/System.XML/Mono.Xml.Schema/ChangeLog
mcs/class/System.XML/Mono.Xml.Schema/XsdValidatingReader.cs

index d2e734ef5e3796ec7b3a260aaff22cf5434aa112..40cd2108da174a0aa7c5b9c27a49718594cd075c 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-13  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : Throw exception only in case of errors.
+
 2004-01-08  Lluis Sanchez Gual  <lluis@ximian.com>
 
        * XsdValidatingReader.cs: In MoveToAttribute(name), if "name" is a default
index 34d542e5f26219df6e682cd53a3fb81e73e35f63..b85e79f6011e9c73c2bb4732c2b1a982619396ac 100644 (file)
@@ -429,7 +429,7 @@ namespace Mono.Xml.Schema
                                this.ValidationEventHandler (this, e);
                        else if (xvReader != null)
                                xvReader.OnValidationEvent (this, e);
-                       else
+                       else if (e.Severity == XmlSeverityType.Error)
 #if NON_MONO_ENV
                                this.xvReader.OnValidationEvent (this, e);
 #else