I tried PDF/A a while back and noticed the XMP header has an extra byte
order mark which validators flagged as “??”.

I’ve attached the patch I used to remove it, however I’m still on an old
version of ConTeXt so this might not apply cleanly to yours.

You might need to open the patch in a hex editor to see the difference in
the two lines as most text editors will not show the BOM.

--
Leo

On Fri, 2 Nov 2018 at 20:12, luigi scarso <luigi.sca...@gmail.com> wrote:

>
>
> Il giorno ven 2 nov 2018, 19:06 Rik Kabel <cont...@rik.users.panix.com>
> ha scritto:
>
>> The example file in the wiki  (at https://wiki.contextgarden.net/PDF/A)
>> no longer verifies as compliant PDF/A. VeraPDF rejects it, and
>> https://www.pdf-online.com/osa/validate.aspx complains:
>>
>> x107.pdf
>> Compliance pdfa-1b
>> Result Document does not conform to PDF/A.
>> Details
>>
>> Validating file "x107.pdf" for conformance level pdfa-1b
>>
>> Invalid content of XMP packet header attribute 'begin': '??'.
>>
>> The property 'pdfx:ConTeXt.Support' is not defined in schema 'PDF/X ID
>> Schema'.
>>
>> The property 'pdfx:TeX.Support' is not defined in schema 'PDF/X ID
>> Schema'.
>>
>> The property 'pdfx:LuaTeX.Version' is not defined in schema 'PDF/X ID
>> Schema'.
>>
>> The property 'pdfx:LuaTeX.Functionality' is not defined in schema 'PDF/X
>> ID Schema'.
>>
>> The property 'pdfx:LuaTeX.LuaVersion' is not defined in schema 'PDF/X ID
>> Schema'.
>>
>> The property 'pdfx:LuaTeX.Platform' is not defined in schema 'PDF/X ID
>> Schema'.
>>
>> The document does not conform to the requested standard.
>>
>> The document's meta data is either missing or inconsistent or corrupt.
>>
>> The document does not conform to the PDF/A-1b standard.
>>
>> Done.
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>
>
> I will check it asap
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________

Attachment: fix_extra_xmp_bom.patch
Description: Binary data

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to