[xsd-users] hexBinary question.

Boris Kolpackov boris at codesynthesis.com
Fri Nov 9 15:06:33 EST 2007


Hi Chip,

Chip Bourne <Clyde.Bourne at genband.com> writes:

>
> I have BCD byte values that I want to represent in a xsd:hexBinary
> schema element, but I seem to be running into some sort of signing
> problem.  When I construct an xml_schema::hex_binary with values greater
> than 0x7f I abort.  What am I doing wrong?  Shouldn't hex_binary handle
> this?

I am pretty sure you are running into a well-known bug. It is fixed
in 3.0.0 and for 2.3.1 there is a patch:

http://codesynthesis.com/~boris/tmp/xsd-2.3.1-hex-binary.patch

Boris




More information about the xsd-users mailing list