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: [email protected]
          Reporter: [email protected]

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to