https://bz.apache.org/bugzilla/show_bug.cgi?id=69178

            Bug ID: 69178
           Summary: ZipPartMarshaller uses hardcoded value for MS
                    compatibility mode
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OPC
          Assignee: dev@poi.apache.org
          Reporter: andreas.schilli...@de.bosch.com
  Target Milestone: ---

The ZipPartMarshaller uses a fixed value "true" for the MS compatibility mode
when writing relative UIRs (see
https://github.com/apache/poi/blob/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java#L175)

This violates the OPC and leads to issues with libraries or tools that read
files written with POI and follow the OPC strictly.

One example is within the context of AASX files (see AAS4J,
https://github.com/eclipse-aas4j/aas4j/issues/300)

The issue would be easy to fix if POI would allow overriding the value from the
outside. Then a default of "true" still could be used, but clients that write
files where applying the compatibility mode is not correct would be able to use
"false".

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to