poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55026] Parse the parameter part in the ContentType definition
Date Wed, 29 May 2013 20:43:27 GMT

--- Comment #2 from Sebastien Schneider <sebastien.schneider@ifpen.fr> ---
Created attachment 30341
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30341&action=edit
OPC file with Content_Types.xml containing parameters

I attach a very simple OPC file with a "Content_Types.xml" which contains

The only line of code I need to highlight the problem is the OPCPackage.open
method call like that:
OPCPackage p = OPCPackage.open("opc_contenttype_test_wparams.opc",

This call throw the following exception:
org.apache.poi.openxml4j.exceptions.InvalidFormatException: The specified
content type 'application/x-resqml+xml;version=2.0;type=obj_global1dCrs' is not
compliant with RFC 2616: malformed content type.

I think that it's because the code from the
doesn't support such ContentType string format.

Thank you,

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

View raw message