[Mono-dev] coda on bug in xsd.exe

Atsushi Eno atsushi at ximian.com
Thu Sep 14 01:40:17 EDT 2006

Nice. Blind implementation detail differences without any rationality
is always out of my interest, but someone might be interested.

Atsushi Eno

L.G. Meredith wrote:
> Atsushi, Lluis,
> In the original schema i sent i used a recursive group style specification
> (as the schema specified the abstract syntax of a language). This style
> eliminates replication of choice statements throughout the schema. i 
> finally
> got the chance to run the schema through xsd.exe on .net and it complained
> bitterly regarding the recursive groups, but did not fall over. So, 
> there is
> a difference in the implementations between mono and .net there. After
> producing a schema that removed the recursive groups by in-lining all the
> choice statements, xsd.exe on .net simply falls over on the new schema with
> an attempt to access something from null. i will proceed to see what 
> happens
> with the non-recursive group style specification on the mono-flavor of
> xsd.exe and report my results, as this may be of general interest to mono
> developers.
> Best wishes,
> --greg
> From: Atsushi Eno <atsushi at ximian.com>
> To: "L.G. Meredith" <lgreg.meredith at gmail.com>
> Date: Wed, 13 Sep 2006 17:25:09 +0900
> Subject: Re: [Mono-dev] bug in xsd.exe
> Hello,
> Mono's XML serialization engine, as well as .NET, does not support
> all valid schemas. Actually it works under pretty much constrained
> situation. Sadly there is no documentation on how it does *not* work.
> I once blogged one example I know:
> http://monkey.workarea.jp/lb/archive/2004/8-22.html
> Cheers,
> Atsushi Eno

More information about the Mono-devel-list mailing list