You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/04/03 21:36:45 UTC

DO NOT REPLY [Bug 44750] New: XSSF comments have newlines eaten

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: dev@poi.apache.org
        ReportedBy: nick@torchbox.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44750] XSSF comments have newlines eaten

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44750


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Yegor Kozlov <ye...@dinom.ru>  2009-04-17 11:41:47 PST ---
Works fine with the latest trunk.

Yegor

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org