You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/04/10 18:07:21 UTC

[Bug 56384] New: Nested Field Codes are not parsed correctly

https://issues.apache.org/bugzilla/show_bug.cgi?id=56384

            Bug ID: 56384
           Summary: Nested Field Codes are not parsed correctly
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
          Assignee: dev@poi.apache.org
          Reporter: josh.holthaus@gmail.com

Created attachment 31508
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31508&action=edit
patch

When a document contains nested field codes only the inner most field code is
processed. This causes unwanted text to appear when converting a document to
html.

Example filed code:
{ SYMBOL { =32+ { SEQ IPItem \n } \f "TDPUNDNO" \h \s 10 }{ADVANCE \l 11 }
This example has 1 field code SYMBOL which contains 2 more field codes within.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56384] [PATCH] Nested Field Codes are not parsed correctly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56384

Josh Holthaus <jo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Nested Field Codes are not  |[PATCH] Nested Field Codes
                   |parsed correctly            |are not parsed correctly
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56384] Nested Field Codes are not parsed correctly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56384

--- Comment #1 from Josh Holthaus <jo...@gmail.com> ---
Created attachment 31509
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31509&action=edit
Sample Document

This is a sample document that contains nested field codes. The patch runs
junit against this file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org