https://issues.apache.org/bugzilla/show_bug.cgi?id=56479

            Bug ID: 56479
           Summary: Hardcoded dcterms namespace prefix name in the check
                    for OPC compliance
           Product: POI
           Version: 3.11-dev
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: OPC
          Assignee: [email protected]
          Reporter: [email protected]

I've an issue when parsing generated OPC document that use a dcterms prefix
different than 'dcterms'. 

For instance 'dc' is used and I get
org.apache.poi.openxml4j.exceptions.InvalidFormatException: The element
'created' must have the 'xsi:type' attribute with the value 'dcterms:W3CDTF'
because of this different prefix name.

In file PackagePropertiesUnmarshaller.checkElementForOPCCompliance() line 372
you should build the xsi:type string to check by taking into account the
namespace prefix name currently used.

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