You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2008/07/19 13:03:31 UTC

[jira] Resolved: (HARMONY-5911) [classlib][rtf] RTF parser improvements and fixes

     [ https://issues.apache.org/jira/browse/HARMONY-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov resolved HARMONY-5911.
--------------------------------------

    Resolution: Fixed

Thanks Aleksey - with updated version I was able to read simplest Russian rtf text. But my second example didn't work - please see it attached. However, according to my experiments on Linux Sun's parser is not able to read any Russian RTF's at all. So good job anyway.

BTW, while reading your grammar file I've noticed that you convert input characters to bytes like this
byte b = (byte) char;
Are you sure that non-ANSI input is completely impossible?

The patch was committed at the revision 678130. Please verify it was applied as expected.

> [classlib][rtf] RTF parser improvements and fixes
> -------------------------------------------------
>
>                 Key: HARMONY-5911
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5911
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Aleksey Lagoshin
>            Assignee: Alexei Zakharov
>         Attachments: RTF_parser_improvements_and_fixes.patch
>
>
> Added support for 8 bit characters (the \hex control word)
> Added support for unicode text and different encodings.
> RTF parser can parse malformed RTF files now (when control words appear at unexpected places).
> And fixed several bugs. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.