From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114344 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: luigi scarso via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: XMP metadata schema yields invalid PDF/A Date: Fri, 4 Feb 2022 22:36:40 +0100 Message-ID: References: <1f7be313-e921-1fdf-f87c-33d3899e397a@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6990306919357006525==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17684"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luigi scarso To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 04 22:37:28 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nG6Gm-0004Pc-6c for gctc-ntg-context-518@m.gmane-mx.org; Fri, 04 Feb 2022 22:37:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 03ED62A22F5; Fri, 4 Feb 2022 22:37:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nenrUNODA6Ux; Fri, 4 Feb 2022 22:36:57 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BCA152A2192; Fri, 4 Feb 2022 22:36:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C33972A22C8 for ; Fri, 4 Feb 2022 22:36:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KxaBJUh31VMD for ; Fri, 4 Feb 2022 22:36:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.178; helo=mail-oi1-f178.google.com; envelope-from=luigi.scarso@gmail.com; receiver= Original-Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1C85A2A18B9 for ; Fri, 4 Feb 2022 22:36:53 +0100 (CET) Original-Received: by mail-oi1-f178.google.com with SMTP id m9so9979955oia.12 for ; Fri, 04 Feb 2022 13:36:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4265XybbTxOXcNeS+gdXRl3aMLm3et1Fm9dq++OsEWQ=; b=knRw6a9lD9nR7+4JQns9WAfu2yNqUkO0i7yuJs9o/470iaeiEwjM1vmkc3jZaNRL04 4gGmqzPujRH9pWOH6SyvYWOZH2pbZPr8LOydmuVWJUF6XwHpU6RTpYBhUBq6Q5uG4gUy +AcOf+3vtvxxyZSezLpTLSd6YDqgvOSVjd91q2BsD7wAdE5OgF5e/2GuAI4LGQufAPj/ rAitd7/FV2wfpvvHtLnZFJiNZVWPQq5+Yr/n2MAiVi8chWaltcesieptgDYMFHfgz81Z aHtqwioKU5rI7LVNK1riYPjoNkUOaT277TkFvDkqOsL6a1U9PjI7G/F8R8LFqRWoozZR fYPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4265XybbTxOXcNeS+gdXRl3aMLm3et1Fm9dq++OsEWQ=; b=WOsHJCPD2CyLlwg2+H/rAQRdEERBkqJ+AEOT6t731Ywymn6yWszKyLSFo7MunwLNwR 0ED0S4YOPFl+Ww+pBHhLaK1nU8DlwuIMwRGOI4wRU+TRsqz5AZBBj0qtP4qwegfl8dCs 62tqpCrZTTV/TYZrVeV+vi2Te54Ih7/iiJcNjDkUbkzVucMhbc/cX0/iC/O/NH3VF2u/ Ys/e3wPvfQlYkwtYXgCL1ltzlgwyS6cYcTOgtma3ra+N4RQaV4JRjY4EKKj5VfmzKXfn OhY+ZEsdUwl3zI1hh8NmhMttEBZXYChsN5CaP0VPyDomKssUa0u40vd9Obeu7P+bi24t z2+w== X-Gm-Message-State: AOAM531ZRSRSe/Ffi8GZ6atDvpCqZ9YmpXR8ugbEDekgYTXuyyyfwUlV +V/YljK9nPrH9IMoiNgIajnjFWOXiB3lxezElSG4pVcrxnI= X-Google-Smtp-Source: ABdhPJxrD8EPT+STdC+A4+zeCVECkeaVCi/EHk/NLAjunPtbIm1MXp/OB9iOpFWhqXyuR+WjI1cCu/i0gPfwrLSSs+Q= X-Received: by 2002:a05:6808:1645:: with SMTP id az5mr2591962oib.313.1644010611204; Fri, 04 Feb 2022 13:36:51 -0800 (PST) In-Reply-To: <1f7be313-e921-1fdf-f87c-33d3899e397a@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114344 Archived-At: --===============6990306919357006525== Content-Type: multipart/alternative; boundary="0000000000007ce51d05d7380c22" --0000000000007ce51d05d7380c22 Content-Type: text/plain; charset="UTF-8" On Fri, Feb 4, 2022 at 10:26 PM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 2/4/2022 7:29 PM, Karl Pettersson via ntg-context wrote: > > Hi > > > > PDF/A files generated using ConTeXt fail validation with veraPDF, and > > the reason seems to be that the dc:description metadata is defined with > > the wrong type in the embedded XMP extension schema. > > > > > https://tex.stackexchange.com/questions/632380/generate-pdf-a-with-context > > > > https://github.com/veraPDF/veraPDF-library/issues/1224 > > > > I can reproduce the problem using TeX Live 2021 (MkIV 2021.03.05). The > > definition seems to be controlled by this code. > > > > > https://source.contextgarden.net/tex/context/base/mkiv/lpdf-pua.xml?search=rdf#l81 > > so "dc:description" is not permitted? it is mentioned in > > > https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/elements/1.1/description > > and also in XMPSpecificationPart1.pdf https://github.com/adobe/XMP-Toolkit-SDK/tree/main/docs dc:description Language Alternative DCMI definition: An account of the resource. XMP addition: XMP usage is a list of textual descriptions of the content of the resource, given in various languages. -- luigi --0000000000007ce51d05d7380c22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Feb 4, 2022 at 10:26 PM Hans = Hagen via ntg-context <ntg-context= @ntg.nl> wrote:
On 2/4/2022 7:29 PM, Karl Pettersson via ntg-context wrote:
> Hi
>
> PDF/A files generated using ConTeXt fail validation with veraPDF, and<= br> > the reason seems to be that the dc:description metadata is defined wit= h
> the wrong type in the embedded XMP extension schema.
>
> https://tex.stackexch= ange.com/questions/632380/generate-pdf-a-with-context
>
> https://github.com/veraPDF/veraPDF-librar= y/issues/1224
>
> I can reproduce the problem using TeX Live 2021 (MkIV 2021.03.05). The=
> definition seems to be controlled by this code.
>
> https://sou= rce.contextgarden.net/tex/context/base/mkiv/lpdf-pua.xml?search=3Drdf#l81

so "dc:description" is not permitted? it is mentioned in

https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#= http://purl.org/dc/elements/1.1/description



and also in=C2=A0= XMPSpecificationPart1.pdf=C2=A0


=C2=A0dc:de= scription =C2=A0 =C2=A0

Language=C2=A0 =C2=A0 =C2= =A0=C2=A0
Alternative=C2=A0 =C2=A0

DCMI = definition: An account of the resource.
XMP addition: XMP usage is a lis= t of textual descriptions of the content of the
resource, given in vario= us languages.


--
luigi
--0000000000007ce51d05d7380c22-- --===============6990306919357006525== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6990306919357006525==--