Re: [xml] hexBinary schema datatype patch

On Mon, Jul 07, 2003 at 03:54:08AM -0400, Daniel Veillard wrote:
On Sun, Jul 06, 2003 at 10:25:35PM -0500, Charles Bozeman wrote:
On Sun, 2003-07-06 at 16:08, Daniel Veillard wrote:
 I think it's relatively clear it does not allow a leading '+', I could not
find anything in the errata about this either:
so even if surprizing, it's the status-quo :-\

The xsd test suit fails on leading '+' for unsigned types so I thought
that since the unsigned types are derived from nonNegativeInteger which
does allow leading '+'s then that maybe the unsigned types should allow
them also.

  Yep that's one of the things I decided to keep different from James'
implementation. I should mail him, he usually comes up with a good reason :-)

Honestly, I'm not going to worry about; reading these specs
makes my head hurt ;-).

  the datatype one is fine, the structure one on the other hand <grin/>  ...

Hi guys,

I have a question about hexBinary-implemantation from Charles:
why is the hexBinary restricted to 12 bytes ?

+             if (i > 24)
+               goto return1;
---end of cut ---

I read the spec part 2 and couldn't find anything that says hexBinary has max 
length of 12. 
Have a look at
as I can see, there are much longer hexBinary values than 12 bytes.

best Regards,

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