diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index aca3037dc..34733a2a4 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 47731 - Word Extractor considers text copied from some website as an embedded object Add Word-to-Text converter and use it as replacement for WordExtractor 51604 - replace text fails for doc ( poi 3.8 beta release from download site ) Fixed incorrect encoding of non-breaking space (0xA0) in SXSSF diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java index 01810569a..820d7ba23 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java @@ -353,25 +353,16 @@ public class TestBugs extends TestCase } /** - * [FAILING] Bug 47731 - Word Extractor considers text copied from some - * website as an embedded object + * [RESOLVED FIXED] Bug 47731 - Word Extractor considers text copied from + * some website as an embedded object */ public void test47731() throws Exception { HWPFDocument doc = HWPFTestDataSamples.openSampleFile( "Bug47731.doc" ); String foundText = new WordExtractor( doc ).getText(); - try - { - assertTrue( foundText - .contains( "Soak the rice in water for three to four hours" ) ); - - fixed( "47731" ); - } - catch ( AssertionFailedError exc ) - { - // expected - } + assertTrue( foundText + .contains( "Soak the rice in water for three to four hours" ) ); } /**