<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support XMP metadata for title, author etc."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103530#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support XMP metadata for title, author etc."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103530">bug 103530</a>
              from <span class="vcard"><a class="email" href="mailto:jose.aliste@gmail.com" title="Jose Aliste <jose.aliste@gmail.com>"> <span class="fn">Jose Aliste</span></a>
</span></b>
        <pre>(In reply to Albert Astals Cid from <a href="show_bug.cgi?id=103530#c4">comment #4</a>)
<span class="quote">> (In reply to Jose Aliste from <a href="show_bug.cgi?id=103530#c3">comment #3</a>)
> > We have discussed this in the list but never got to a conclusion. 

> Do you have the email subject at hand? I do remember a discussion, but juts
> couldn't find it.</span >

Actually, it's more or less the discussion we are having now. 

<a href="https://lists.freedesktop.org/archives/poppler/2017-April/012171.html">https://lists.freedesktop.org/archives/poppler/2017-April/012171.html</a>
<a href="https://lists.freedesktop.org/archives/poppler/2017-September/012596.html">https://lists.freedesktop.org/archives/poppler/2017-September/012596.html</a>
<span class="quote">> 
> > For
> > instance, for author there is the info in the catalog and the info in the
> > XMP metadata. My understanding of the PDF spec says that if the XMP metadata
> > is present, then the catalog data should be ignored.

> That is not correct, the rules are more complex as far as i remember.
> </span >
Yeah, I just wanted to point out that since the rules are complex and belong to
the pdf spec, we should probably implement them in poppler core. 

<span class="quote">> > Because of that, I tend
> > to believe that we need a "High Level API" to get the author that get the
> > correct value that agrees with the pdf spec. Of course, it also makes sense
> > to still have "Catalog->getAuthor" even if it's supposed to be ignored and
> > we also have low level API to get the whole XMP metadata so we are covered
> > there. This high level API would belong to poppler IMO since it's part of
> > the PDF spec. The second question is whether we should provide
> > implementations in each frontend or in core. 
> > 
> > Albert, how do you feel about introducing a dependency on a xml library
> > (libxml2) for instance? so I can try to add a private high level api that
> > could be shared by both glib and qt frontends?

> I guess that'd be ok</span >
thanks</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>