return getPrevOffset4OtherEncoding();
throw new ParseException("Other Error: Should never happen");
	private int getPrevOffset() throws ParseException {		int prevOffset = offset;		int temp;		switch (encoding) {		case FORMAT_UTF8:			do {				prevOffset--;			} while (XMLDoc[prevOffset] < 0);			return prevOffset;		case FORMAT_ASCII:		case FORMAT_ISO_8859_1:			return offset - 1;		case FORMAT_UTF_16LE:		    temp = (XMLDoc[offset + 3] &0xff) << 8 | (XMLDoc[offset + 2]&0xff);			if (temp < 0xd800 || temp > 0xdfff) {				return offset - 2;			} else				return offset - 4;		case FORMAT_UTF_16BE:		    temp = (XMLDoc[offset]&0xff) << 8 | (XMLDoc[offset + 1]&0xff);			if (temp < 0xd800 || temp > 0xdfff) {				return offset - 2;			} else				return offset - 4;		default:		    return getPrevOffset4OtherEncoding();		}	}