[Mono-list] Validating an XML document

Atsushi Eno atsushi at ximian.com
Sun Dec 10 21:31:18 EST 2006

It is likely a bug in multi schema resolution which used to be buggy
in .NET 1.x land. I'll try to fix but much simpler test than hundreds
kilobytes of case is absolutely helpful.

Atsushi Eno

Loren Bandiera wrote:
> Hi,
> I've been having some issues trying to validate an XML document using
> XSD schemas. I think I've found a bug in Mono.
> I've written a small test program which takes a file, tries to validate
> it and prints the results. I've made it available here:
> http://dev.mmgsecurity.com/downloads/testing/xsd-validate-test.zip
> When I compile/run this code using Mono/Linux (gmcs; v1.2.2.1), I get
> the following error:
> XmlSchema error: There is already same named identity constraint in this
> namespace. Related schema item SourceUri:
> file:///home/lorenb/Projects/xsd-validate/oval-definitions-schema.xsd,
> Line 34, Position 4.
> Using Windows/MS.NET it doesn't complain and validates the document as
> expected.
> Can anyone confirm this is a bug? Or if it's not a bug, does anyone have
> any suggestions for how I can make this work under Mono?

More information about the Mono-list mailing list