Bug 62140 - FILESAVE: .docx Files containing specific XML Tags can not be saved correctly.
Summary: FILESAVE: .docx Files containing specific XML Tags can not be saved correctly.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.2.2 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: BSA (target:4.3.0)
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 05:00 UTC by irgend_jemand
Modified: 2014-02-14 15:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Left: Before saving the File; Right: same file after it has been reopened. (73.04 KB, image/png)
2013-03-11 05:00 UTC, irgend_jemand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description irgend_jemand 2013-03-11 05:00:03 UTC
Created attachment 76310 [details]
Left: Before saving the File; Right: same file after it has been reopened.

Problem description: 
In case the written Text contains the String “http://www.w3.org/2001/04/xmlenc#EncryptedKey“ (including the quotes), the document can not be fully saved as .docx file. 

Steps to reproduce:
1. Open a plain Textdocument. 
2a. Write the text (till ##END##):
abcd
“http://www.w3.org/2001/04/xmlenc#EncryptedKey“
jkjkljk
##END##

2b. make sure you press Enter at the end of the Line containing the Link. So the link turns blue and becomes underlined.
3. save document using .docx format
4. reopen the document. 
5. the document has following content now:
abcd
“http://www.w3.org/2001/04/xmlenc#EncryptedKe

Current behavior:
Parts of the Link and all text afterwards are not saved and are lost. 

Expected behavior:
the whole document should be saved ;-)

              
Operating System: Ubuntu
Version: 3.6.2.2 release
Comment 1 Thomas van der Meulen [retired] 2013-10-24 13:38:32 UTC
Thank you for your bug report, I can reproduce this bug running 
Version: 4.1.3.2
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a
OS: Mac osx 10.9.

Wen I repoen it I have 

abcd
“http://www.w3.org/2001/04/xmlenc#EncryptedKey
Comment 2 Jorendc 2014-02-14 15:13:15 UTC
I fail to reproduce this, tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha0+ Build ID: a315454f349469923490e4116806ee19263849b8

I CAN reproduce using LibreOffice Version: 4.1.5.3 
Build ID: 1c1366bba2ba2b554cd2ca4d87c06da81c05d24

So: marking as RESOLVED WORKSFORME.

Might work also already in version 4.2.

Kind regards,
Joren