>The DOM spec states that negative values for the count value should throw
an INDEX_SIZE_ERR
>exception. In Xerces-C, the arguments are defined as unsigned int which
results in
>the negative values in the tests being interpreted as very large values.
If the binding defines the arguments as unsigned int, then by definition
they aren't negative, and trying to pass in a signed value should be caught
by your compiler as a type mismatch. So as far as I can tell, Xerces isn't
out of line here; the fact that an exception may be needed in some
bindings/implementation does not mean it will actually arise in all
bindings.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]