Summary: | Metadata extractor fails to extract metadata when using a ByteArrayInputStream | ||
---|---|---|---|
Product: | POI | Reporter: | David <dvergnaud> |
Component: | XWPF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.6-FINAL | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
David
2010-06-14 10:51:25 UTC
There shouldn't be any differences Could you please create a simple unit test which loads the file the two different ways, and detects that they don't agree? We can then use that when trying to fix the bug, and to ensure it stays fixed It might also be worth you digging down into the properties themselves, rather than just the extractor level text, and see if you can spot there where the problem is introduced OK, I'll do that as soon as I can find some time -- might take 1-2 weeks though. Can you just tell me how the test program should behave? Simply return 0 on success (same values on both sides) and -1 otherwise? The class should extend junit.framework.TestCase I would suggest you have open the file the two ways, then loop over the two objects doing assertEquals, assertNotNull etc. In theory, we'd expect one to pass and one to fail as they differ No update for a long time, thus I am closing this for now, please reopen with more information if this is still a problem for you. |