[Mono-dev] Validate xml file with schema file

2010-11-29 Thread Chakotey STME
Hi, I have a problem with this code under mono 2.6: Dim xsdMarkup As XDocument = XDocument.Load(/home/stefan/xml/PluginConfigSchema.xsd) Dim schemas As XmlSchemaSet = New XmlSchemaSet() schemas.Add(, xsdMarkup.CreateReader) Dim doc1 As XDocument =

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Atsushi Eno
You can't use moma report result to assume it *must* work if it does not report anything. It is explicitly stated on the first page when you ran moma: http://www.mono-project.com/Using_MoMA_Guide It won't report things that internally/indirectly use other types and/or members that throws NIE.

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Robert Jordan
On 29.11.2010 10:55, Chakotey STME wrote: Hi, I have a problem with this code under mono 2.6: Dim xsdMarkup As XDocument = XDocument.Load(/home/stefan/xml/PluginConfigSchema.xsd) Dim schemas As XmlSchemaSet = New XmlSchemaSet() schemas.Add(,

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Atsushi Eno
XDocument.Validate() is not implemented in git master. BTW I tried MoMA with a simple test code that uses XDocument.Validate() against 2.6 profile, and it correctly reported 1 call to NotImplementedException: http://f.hatena.ne.jp/atsushieno/20101129214124 I wonder how you got such OK report

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Chakotey STME
Thats correct. The Mono analyzer says that it won't work. Sorry. Maybe I checked note the correct project with the mono analyzer. Thanks for your answer. chakoteystme 2010/11/29 Atsushi Eno atsushi...@veritas-vos-liberabit.com: XDocument.Validate() is not implemented in git master. BTW I

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Atsushi Eno
Ahh, ok. No worries then. BTW I mistyped: XDocument.Validate() is *now* implemented in git master ;) Atsushi Eno (2010/11/30 0:23), Chakotey STME wrote: Thats correct. The Mono analyzer says that it won't work. Sorry. Maybe I checked note the correct project with the mono analyzer.