Re: [xml] XSD patch and tests
- From: Charles Bozeman <cbozeman hiwaay net>
- To: Daniel Veillard <veillard redhat com>
- Cc: libxml-list <xml gnome org>
- Subject: Re: [xml] XSD patch and tests
- Date: 03 Aug 2003 07:37:51 -0500
On Sat, 2003-08-02 at 11:41, Daniel Veillard wrote:
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).
The only real gain is being able to handle decimal values larger than 18
digits. I had noticed that the only time the code needed a decimal value
in binary form was during facet validation so I thought why not keep the
values as strings until the code needs it as a number.
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]