Re: [xml] XSD patch and tests

On Thu, Jul 31, 2003 at 10:20:35PM -0500, Charles Bozeman wrote:
Here is a new patch for xmlschematypes.c that implements hexBinary and

  I didn't had time to look at your patch before. I just did that.

decimal types as strings. I have also included tests (that belong in
test/schemas) for boolean, hexBinary, and decimal types.

   for hexBinary I understand but for the decimal, what is the gain ?
It seems to me that now the information stored about the decimal is a
textual form and retrieving the value needs to reparse it again. What
is the purpose of the change to the decimal implementation ? A conformance
problem, a limitation in the approach (the REC asks for 18 digit of 
precision and I had those). 
  I would like to apply your patch but on the other hand I don't understand
the reason for most of the changes made, and a bit annoyed about not being
able to get the value for the decimal types, could you provide a bit
more informations ?


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]