Created attachment 26402 [details] Archive containing java source for JUnit test along with .docx file. As requested, a JUnit test demonstrating that the OutputStream recovered from the PackagePart encapsulating a reference to an embedded document does not write the changes made back to the PackagePart but results in an empty - zero length - file. Includes simple test file consisting of a WordprocessingML document into which a binary Excel workbook has been embedded. The first four cells of row A of the workbook's first sheet have been populated with data and the test code attempts to modify the value in cell A1.
Thanks Mark, I committed your example in r1139541 Yegor