|
The use of unsigned values for
the counts come straight from the IDL in the W3C DOM interfaces. The use of signed values in
the DOM Java bindings is because
of the limitations of the Java language; there's no point in having signed
counts in C++.
int vs long for the C++ counts is a
question we flip-flopped on a couple of times. IDL longs are 32 bits; C++
compilers that are current and would be reasonably able to build xerces all have
32 bit ints. 16 bit ints are history, gone with the PDP-11 and
286. As more 64 bit processors appear on the scene, an increasing
number of C compilers have 64 bit longs.
Here's the IDL interface for
CharacterData from the DOM spec
Curt Arnold wrote,
|
- DOM conformance tests Curt Arnold
- Re: DOM conformance tests Andy Heninger
- Re: DOM conformance tests Dean Roddey
- Re: DOM conformance tests Curt Arnold
- Re: DOM conformance tests David_N_Bertoni
- RE: DOM conformance tests Arnold, Curt
- RE: DOM conformance tests Dean Roddey
- Re: DOM conformance tests Joseph_Kesselman
- Re: DOM conformance tests Curt Arnold
- Re: DOM conformance tests Joseph_Kesselman
