https://issues.apache.org/bugzilla/show_bug.cgi?id=44750
Summary: XSSF comments have newlines eaten
Product: POI
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
We appear to be passing the wrong incantations to xmlbeans, and consequently it
is eating the leading newlines in the comment text
So, if the comment text was "Nick Burch" + "\nI am a comment" (different
formatting on the two bits), and we serialise and re-load, we get "Nick Burch"
+ "I am a comment" (new line gone)
src/ooxml/testcases/org/apache/poi/xssf/model/TestCommentsTable.java has a
commented out test that shows this up
Probably we need to tell xmlbeans something different when serialising
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]