[Poppler-bugs] [Bug 103530] New: Support XMP metadata for title, author etc.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 31 21:28:37 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103530

            Bug ID: 103530
           Summary: Support XMP metadata for title, author etc.
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: rrt at sc3d.org

At present, poppler doesn't use the XMP metadata. This is a shame, not just
because it means that in Evince, Okular etc. some documents appear to lack
metadata, but because this particularly disadvantages PDF/A-compliant
documents, for example. As an author, I'd like to produce documents compliant
with 10-year-old standards, and not have my users complain they're broken!

The most obvious fix would seem to be to modify the various getDocInfo* methods
(ignoring for the moment the fact that this will make the names somewhat
misleading, as they will no longer look only in the DOCINFO dictionary), to
look in the XMP metadata, according to the relevant PDF specs (I haven't yet
determined what these are and what conditions they impose).

Since the XMP is XML, it seems this will need libxml2 (or equivalent). The
poppler maintainers might desire this to be an optional dependency, at least at
first.

Also worth considering: might clients of poppler want to know the source of a
particular piece of metadata (i.e. whether it comes from DOCINFO or XMP)? If
so, is that best achieved by adding new "finer-grained" APIs, or by leaving the
existing APIs unaltered, and adding new ones?

Is there any need to provide low-level access to the XMP metadata through
public APIs, or, since it's all XML with well-known schemas, is that redundant?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171031/5dd812ae/attachment.html>


More information about the Poppler-bugs mailing list