Skip to main content

longs bug in SAXDocumentParser

2 replies [Last post]
lpurvis
Offline
Joined: 2005-12-05
Points: 0

In:

com.sun.xml.fastinfoset.sax.SAXDocumentParser

protected final void
processCIIBuiltInEncodingAlgorithmAsPrimitive()
throws FastInfosetException, IOException {

The final line under
case EncodingAlgorithmIndexes.LONG:

line # 1,352 (in release 1.0.1 anyway, but the bug still remains in CVS):

_primitiveHandler.ints(builtInAlgorithmState.intArray, 0, length);

Should be:

_primitiveHandler.longs(builtInAlgorithmState.longArray, 0, length);

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sandoz
Offline
Joined: 2003-06-20
Points: 0

Hi,

Many thanks for finding this. This is fixed in the latest build:

https://fi.dev.java.net/servlets/ProjectDocumentList

Paul.

lpurvis
Offline
Joined: 2005-12-05
Points: 0

Thanks!