Project

Profile

Help

Revision 3235ddf8

Added by Michael Kay about 14 years ago

Fix bug 1797006 - bug in whitespace decompression

View differences:

latest8.9/bj/net/sf/saxon/tinytree/WhitespaceTextImpl.java
42 42
     */
43 43

  
44 44
    public static CharSequence getStringValue(TinyTree tree, int nodeNr) {
45
        long value = ((long)tree.alpha[nodeNr]<<32) | (tree.beta[nodeNr]);
45
        long value = ((long)tree.alpha[nodeNr]<<32) | ((long)tree.beta[nodeNr] & 0xffffffffL);
46 46
        return new CompressedWhitespace(value);
47 47
    }
48 48

  

Also available in: Unified diff