[Mono-list] Validating an XML document

Atsushi Eno atsushi at ximian.com
Mon Dec 11 23:21:03 EST 2006


Thanks again for the simple repro. I fixed the issue with your
repro code in svn (r69383). It turned out that the issue was
rather in XmlReader.Create(), not the validator.

Atsushi Eno

Loren Bandiera wrote:
>> Hmm, ok, I will dig into that half of megabytes of schemas when I have
>> enough time to feel like doing that.
> Okay, I've got a much simpler test:
> http://dev.mmgsecurity.com/downloads/testing/simple-test.zip
> The document should be invalid.
> When I run it under Windows/MS.NET:
> C:\testing>main Product.xml
> Here in OnValidationEvent
> The 'ProductIDAAA2' attribute is not declared.
> Here in OnValidationEvent
> The required attribute 'ProductID' is missing.
> Document is invalid
> When I run it under Linux/Mono:
> $ ./main.exe Product.xml
> Document is valid

More information about the Mono-list mailing list