Re: [xml] XSD test patch

On Sat, Jul 26, 2003 at 12:16:56PM -0500, Charles Bozeman wrote:
I have included a "proof-of-concept" patch for xmlschemastypes.c that
implements and stores hexBinary, decimal, and all decimal derivates as
strings. They are only converted to binary when they are needed (for
doing facet verification). This patch allows the numbers to be any
length except when the number (decimal or nonnegative) is used to
restrict the length of a data type (i.e. totalDigits, fractionDigits,
maxLength ..). The changes pass all the tests included in libxml2, but
those tests don't stress the xsd types. If anyone has some better tests,
I would appreciate any feedback.

  Hum, the python script run the XSD Datatype
tests from James Clark, it's not directly XML Scheams but the use through

After a few days, I will clean up the patch and resubmit it for
inclusion if no one has any objections.

  I can't garantee that I will have the cycles to check, maybe tomorrow
but being on the road makes things a bit harder ...


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]