Summary: | Preserving leading and trailing spaces XSSFCell | ||
---|---|---|---|
Product: | POI | Reporter: | Dale Monti <dmonti> |
Component: | XSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.5-FINAL | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Windows Vista |
Description
Dale Monti
2009-10-27 12:51:22 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 |