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

            Bug ID: 54570
           Summary: InvalidFormatException because of Absolute URI
                    forbidden
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLF
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

When trying to extract the text from a pptx document I get the following
Exception:

Stack Trace: org.apache.poi.openxml4j.exceptions.InvalidFormatException:
Absolute URI forbidden: file://///...
    at
org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfAbsoluteUri(PackagePartName.java:426)
    at
org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfInvalidPartUri(PackagePartName.java:175)
    at
org.apache.poi.openxml4j.opc.PackagePartName.<init>(PackagePartName.java:83)
    at
org.apache.poi.openxml4j.opc.PackagingURIHelper.createPartName(PackagingURIHelper.java:493)
    at
org.apache.poi.openxml4j.opc.PackagePart.getRelatedPart(PackagePart.java:483)
    at org.apache.poi.xslf.XSLFSlideShow.<init>(XSLFSlideShow.java:86)
    at
org.apache.poi.xslf.extractor.XSLFPowerPointExtractor.<init>(XSLFPowerPointExtractor.java:61)

But the document can be opened by MS Office and LibreOffice. There are
complains about some missing references but there is still most of the data in
the document.

Unfortunately I can not attach the document.

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