[Mono-devel-list] latest XmlSchemaUnique fix to dare enbug

Atsushi Eno atsushi at ximian.com
Thu Mar 11 16:11:16 EST 2004


Hello,

About a patch applied few days ago, but...

> 2004-03-04  Alon Gazit <along at mainsoft.com>
>
>	* XmlSchemaUnique.cs : Changed Read implementation.
>	Currently can read "field" element before "selector" element (like MS).

I don't think such fix should be done. It is nothing but enbugging
existing implementation (note that "field" must not appear in front
of "selector" as written in schema for schemas).

Moreover, I don't think MS.NET XmlSchemaUnique allows such incorrect
schemas, since as long as I did, MS.NET never fails to reject
incorrect schemas contained in W3C standalone tests. For example,
this schema is correctly rejected by MS.NET, while accepted by the
latest Mono implementation:
http://www.w3.org/XML/2001/05/xmlschema-test-collection/msxsdtest/identityConstraint/idA044.xsd

If there is no apparent reason, I'll revert this fix.

Thanks,
Atsushi Eno




More information about the Mono-devel-list mailing list