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

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

[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
         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.


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

Posted by "Aleksey Lagoshin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Lagoshin updated HARMONY-5911:
--------------------------------------

    Attachment: RTF_parser_improvements_and_fixes.patch

> [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
>         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.


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

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov reassigned HARMONY-5911:
----------------------------------------

    Assignee: Alexei Zakharov

> [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.


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

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov updated HARMONY-5911:
-------------------------------------

    Attachment: mama.rtf

Russian RTF sample 

> [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: mama.rtf, 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.


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

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ 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.