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 2009/10/28 11:44:14 UTC

DO NOT REPLY [Bug 48070] Preserving leading and trailing spaces XSSFCell

https://issues.apache.org/bugzilla/show_bug.cgi?id=48070

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

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

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2009-10-28 03:44:12 UTC ---
Fixed in r830492

The fix looks easy on the surface but it took quite a while to understand how
to do it with XmlBeans. xml:space="preserve" belongs to the Official XML
Namespace  (http://www.w3.org/XML/1998/namespace) and XmlBeans does not
generate get/set accessors to it. It turned out that the only way to set this
attribute is via XmlCursor, see the patch.

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