https://issues.apache.org/bugzilla/show_bug.cgi?id=46610
Benjamin Engele <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|java.lang.IllegalArgumentExc|[PATCH] Problems accessing |eption: The end (272) must |documents containing unicode |not be before the start | |(300) | --- Comment #6 from Benjamin Engele <[email protected]> 2009-01-27 13:13:54 PST --- Patch for Exception triggered by utf2.doc doesn't resolve all problems with utf2.doc: The last paragraph is misplaced. This is happens because of another error in translating byte positions from FormatedDiskPage to char positions in the TextPiece. Some more notes: Writing wasn't tested and not changed. It is probably now more broken then it was before. BytePropertyNode.getStartBytes() and getEndBytes() definitely needs to be fixed, they still uses the wrong approach to calculate the byte index from the char index. IMHO BytePropertyNode.isUnicode() should be removed as soon as get[Start/End]Bytes() has been fixed. Don't think the information that the tart of the node is in a unicode text piece is useful. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
