[
https://issues.apache.org/jira/browse/PDFBOX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931109#action_12931109
]
Adam Nichols commented on PDFBOX-806:
-------------------------------------
Staffan, Would you be willing to attach the patch to this issue in JIRA and
grant permission to include it in PDFBox? I saw the patch at
https://github.com/solsson/pdfbox/commit/bdc1fea768019121f414a9eb107cc5a421d55041
but we need you to grant license to the ASF, even if it is only 4 lines of
code.
Also, you can always download the latest code from SVN and there are also
pre-built snapshots which should save you the trouble of forking the entire
project for every patch. That way people won't have to choose between your
fork (1.3 + patch 806) and the latest PDFBox code (1.3 and many other patches,
but not patch 806).
> Failure to extract dc:description when the value is the node text
> -----------------------------------------------------------------
>
> Key: PDFBOX-806
> URL: https://issues.apache.org/jira/browse/PDFBOX-806
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.2.1
> Reporter: Staffan Olsson
> Attachments: JempboxTest.java
>
>
> I can not get the dc:description from the following xmpmeta:
> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0">
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> <rdf:Description rdf:about=""
> xmlns:exif="http://ns.adobe.com/exif/1.0/">
> <exif:UserComment>exif</exif:UserComment>
> </rdf:Description>
> <rdf:Description rdf:about=""
> xmlns:dc="http://purl.org/dc/elements/1.1/">
> <dc:description>from XnViewMP 0.26</dc:description>
> </rdf:Description>
> </rdf:RDF>
> </x:xmpmeta>
> But it works from this:
> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> <rdf:Description rdf:about=""
> xmlns:dc="http://purl.org/dc/elements/1.1/">
> <dc:description>
> <rdf:Alt>
> <rdf:li xml:lang="x-default">dc:description</rdf:li>
> </rdf:Alt>
> </dc:description>
> </rdf:Description>
> </rdf:RDF>
> </x:xmpmeta>
> Both of them are valid according to http://www.w3.org/RDF/Validator/. My
> interpretation of http://dublincore.org/documents/dcmes-xml/ is that the
> first format should be ok for Dublin Core too.
> See attached unit test.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.