[Mono-devel-list] XML Schema Facet validation

Atsushi Eno atsushi at ximian.com
Sun Jan 11 03:44:12 EST 2004

David, great works!! It actually fixes several facet problems and it
looks closer to MS.NET. Thank you!

I just found that internal XmlSchemaFacet.Facet enumeration cannot be
used in protected member signatures (it looks mcs bug that passes this).

Please feel free to go ahead after fixing them (it is so little ;-).

Atsushi Eno

David Sheldon wrote:
> Right, I have been working on this for a while now, and I am nearly
> there. However I think that other people should have a look and comment
> on what they think of my code, and what I have done.
> Our validation is now closer to that of MS .NET, and also closer to XML
> Schema than it was before. 
> I have tested it against the Xsd test suite, and the only failures that
> didn't fail before appear to be on the comparisons of floating point
> values right on the edges of that represented by Decimal, and MS fail
> these too.
> Also included is my patch to corlib/System/DateTime.cs, to fix bug
> 52274, which is needed to compare some of the date based types.
>   * base64Binary and hexBinary types should have the length of their
>   _decoded_ data compared to the lenth facets
>   * length facets should be ignored for QName and NOTATION type objects
>   (by the XML Schema errata)
>   * Test cases. I haven't written any yet. I could do with an example of
>   how to write test cases for internal classes, or another way of
>   testing some of this code.
> David

More information about the Mono-devel-list mailing list