[Mono-list] Validating XML against a schema - Mono always says NotKnown?

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Thu Jun 10 10:57:08 EDT 2010

Please file a bug. https://bugzilla.novell.com

Atsushi Eno

(2010年06月10日 06:20), IBBoard wrote:
> Hi,
> I'm having a real fight trying to get Mono to validate even the simplest
> XML. It will quite happily error when the XML is invalid (e.g. an
> unexpected tag) but SchemaInfo.Validity is always NotKnown. If something
> more subtle like a keyref is invalid then VS.net errors (as it should)
> but Mono doesn't.
> I've built a mini-test suite and uploaded
> http://ibboard.co.uk/temp/XmlTest.tar.gz. The output from
> VisualStudio.net (2005 Express) and MonoDevelop 2.4 beta 2 with Mono
> 2.6.3 is attached. Even the simplest XML schema and document (one tag
> with one attribute) doesn't seem to want to say it is valid. Am I
> missing something with a minor difference between Mono and .Net, or is
> this a bug in the validation of XML?
> Thanks,
> IBBoard
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list