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

             Bug #: 52649
           Summary: bad xmlns in xmpmeta element
           Product: POI
           Version: 3.8-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When I use an xsl-fo file produce with WordToFoConverter. 
There is an exception in Apache FOP because the xmlns of the xmpmeta element is
not correct. 
hwpf generate :

<x:xmpmeta xmlns:x="adobe:ns:meta">
[...]
</x:xmpmeta>  

but apache FOP expect a slash ("/") at the end:

<x:xmpmeta xmlns:x="adobe:ns:meta/">
[...]
</x:xmpmeta>  

I have checked the specification (see
http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf,
page 22)

I have modified FoDocumentFacade at line 245 like this :

 Element xmpmeta = document.createElementNS( "adobe:ns:meta/",
                "x:xmpmeta" );

And it works fine now.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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