[Mono-devel-list] XML Schema Facet validation

David Sheldon dave-monolist at earth.li
Sat Jan 10 17:53:11 EST 2004

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.


Hildebrant's Principle:
	If you don't know where you are going, any road will get you there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facets.patch.gz
Type: application/octet-stream
Size: 8221 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040110/595885d3/attachment.obj 

More information about the Mono-devel-list mailing list