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

IBBoard ibboard at gmail.com
Fri Jun 11 14:53:19 EDT 2010

Okay, will do - I'd hoped it was just something I was doing wrong that
Mono handled slightly differently rather than a bug.



On 10/06/10 15:57, Atsushi Eno wrote:
> 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