LibrePDF / OpenPDF

OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Other
3.55k stars 584 forks source link

PDF/A1A & PDF/A1B inavlid due to title => xmp.metadata missing language attribute at <dc:title><rdf:Alt><rdf:li>Title... #971

Open speckyspooky opened 11 months ago

speckyspooky commented 11 months ago

I created pdf documents with the conformance of PDF/A1A and PDF/A1B with our BIRT engine. The results was check on my side with veraPDF and the result is that the PDF/A-versions are unvalid due to an issue with the dc:title.

The problem ist that the language-attribute is missing on and therefore the PDF/A will be marked like invalid.

For the PDF/A-creation I used the default options which was given on openPDF.

The current PDF/A structure is:

      <dc:title>
        <rdf:Alt>
          <rdf:li>Titel-Subtitel</rdf:li>
        </rdf:Alt>
      </dc:title>

The structur shall be:

      <dc:title>
        <rdf:Alt>
          <rdf:li xml:lang="x-default">Titel-Subtitel</rdf:li>
        </rdf:Alt>
      </dc:title>
andreasrosdal commented 11 months ago

Hello @speckyspooky Would you be interested in contributing support for PDF/A support in OpenPDF? See #980 and https://en.wikipedia.org/wiki/PDF/A. As suggested this can be implemented with new PdfADocument and PdfAWriter classes for PDF/A support.

asturio commented 7 months ago

Contributions to OpenPDF are welcome.

DanielTOsborne commented 2 months ago

Contributions to OpenPDF are welcome.

Hi, There is a federal law that requires all documents the US government publishes to be Section 508 compliant. I'm part of a team in my agency investigating options to meet this requirement as we move into the cloud.

We are currently looking into several options: 1) License iText 8, which has the required APIs to make 508 compliant PDFs relatively easy. 2) Pay for development work on this project to implement similar APIs. 3) Implement the APIs ourselves, either as a PR to this project, or a separate fork.

My personal preference is option 2, however it's not up to me. I'm gathering information on all options and presenting them to up the chain to those who can authorize spending money.

To that end: Are there any interested parties with time that have at least 51% of the development team, and the management team in the US that can work on meeting these requirements (as described at https://www.section508.gov/create/pdfs/)?

This is being done for "Market Research" which we are required to do before a solicitation and should not be considered a commitment to funding any individual parties. Such awards go through a formal process.

I'm not authorized to provide funding or approve a project myself. I'm just a developer, like you, doing my part to make sure any money we spend is spent in the best way possible.

If this should be placed in a separate discussion, I can move it.

Thanks.