poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55924] New: [PATCH] xml export and minOccurs=0 issue
Date Mon, 23 Dec 2013 12:30:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55924

            Bug ID: 55924
           Summary: [PATCH] xml export and minOccurs=0 issue
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: hae@zuehlke.com

Xml export of an excel document fails if it contains empty cells which are
mapped to an xml element of type double and attribute minOccurs=0.

Poi fails to export such documents because it fills in an empty string into
these xml tags. This leads to a schema validation exception in case of an
element with a double datatype.

The patch I'm going to provide handles it the same way as Excel does. It
removes empty elements from the output xml.

-- 
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


Mime
View raw message