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 2016/12/12 14:35:27 UTC

[Bug 60470] New: Not extracting comments anchored in runs in XWPF

https://bz.apache.org/bugzilla/show_bug.cgi?id=60470

            Bug ID: 60470
           Summary: Not extracting comments anchored in runs in XWPF
           Product: POI
           Version: 3.16-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

Created attachment 34521
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34521&action=edit
triggering file, based on Tika's testWORD_numbered_list.docx

While working on SAX parser for XWPF on Tika, I found that we're not extracting
comments anchored in runs in Tika or POI with our DOM parser.

unit test:

    public void testCommentsAnchoredInRuns() throws IOException {
        XWPFDocument doc =
XWPFTestDataSamples.openSampleDocument("testCommentAnchoredInRun.docx");
        XWPFWordExtractor extractor = new XWPFWordExtractor(doc);
        assertTrue(extractor.getText().contains("add a list"));
    }

-- 
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 60470] Not extracting comments anchored in runs in XWPF

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 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