ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: PDF/A generation
Date: Tue, 18 Oct 2016 16:24:39 +0200	[thread overview]
Message-ID: <ee8a6ae3-be5d-161b-90a0-275ae20dc7fd@gmx.net> (raw)
In-Reply-To: <897adda0-a953-3dc0-d44b-929bb9e8ffc6@gmail.com>

Dear Henri,

the <info> is taken from a mail to Hans and Luigi.

Better be patient and wait for Hans to implement the changes (shouldn't
break your documents). But I donno if the previously RNG based 'id' (a
fixed value now!) is handled somewhere else in the code. Hans knows, I
don't. There were several changes in the past for a more constant PDF
output for test purposes and every random value would break that.

----
<info>
1. bad XMP 'id'

The XMP packet wrapper is kind of fixed ('7.3.2 XMP packet wrapper',
page 10 of XMPSpecificationsPart1.pdf from XMP-Toolkit-SDK-CC201607.zip)

http://download.macromedia.com/pub/developer/xmp/sdk/XMP-Toolkit-SDK-CC201607.zip

<?xpacket begin="?" id="W5M0MpCehiHzreSzNTczkc9d"?>

Had also fun times with a (bad) copy and pasted 'begin' attribute
(U+FEFF), until I entered it manually. Quite depressing... :D


2. missing 'pdfaSchema:valueType' entries (containing an empty <rdf:Seq/>)

</info>

Fixed files (lpdf-pda.xml, lpdf-xmp.lua) are attached ('base' dir).

Tested with all supported PDF/A variants (added test files for a2/a3
variants) and all passed.
----

Best wishes,  Peter


Am 18.10.2016 um 15:44 schrieb Henri Menke:
> Dear Peter,
> 
> thanks for the update.  Can you maybe tell what exactly has changed to fix it?  I'm on the TL 2016 release and cannot update because I fear regressions for my important document.
> 
> Cheers, Henri
> 
> On 10/18/2016 02:54 PM, Peter Rolf wrote:
>> Hi,
>>
>> just for the records. The problems were on ConTeXt's side (fixed now),
>> the online validator does a pretty good job.
>>
>> Peter
>>
>> Am 14.10.2016 um 17:10 schrieb Peter Rolf:
>>> Am 14.10.2016 um 14:16 schrieb luigi scarso:
>>>> On Fri, Oct 14, 2016 at 2:04 PM, Peter Rolf <indiego@gmx.net> wrote:
>>>>> Sigh.. I had high hopes on this one. Would be nice to have a free and
>>>>> working (in this combination) validator. I'll make some tests over the
>>>>> weekend and contact the author(s). No bug report, no fix.
>>>>
>>>> I have not said that it's wrong, only that it fails to validate the
>>>> pdf..the validator could be ok infact.
>>>
>>> True, that conclusion comes from my side. I'm pretty sure that all
>>> needed XMP entries are properly set, so chances are high, that the error
>>> is on their side. But we will (hopefully) see.
>>> Also: If Acrobat isn't right, what tools are left for validation?
>>>
>>>> Btw, as I can see from
>>>> http://www.pdfa.org/2016/08/slide-decks-and-video-recordings-of-the-pdf-days-europe-2016/
>>>> it seems that there is a bit of depression in validating pdf/a files ....
>>>>
>>>
>>> Interesting, but better don't dig too deep... :D
>>>
>>> ___________________________________________________________________________________
>>> 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  : http://foundry.supelec.fr/projects/contextrev/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
>>>
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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	other threads:[~2016-10-18 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13 13:03 Henri Menke
2016-10-13 13:13 ` luigi scarso
2016-10-13 13:40   ` Henri Menke
2016-10-13 14:23     ` luigi scarso
2016-10-13 14:58       ` Peter Rolf
2016-10-14  9:22         ` luigi scarso
2016-10-14 12:04           ` Peter Rolf
2016-10-14 12:16             ` luigi scarso
2016-10-14 15:10               ` Peter Rolf
2016-10-18 12:54                 ` Peter Rolf
2016-10-18 13:44                   ` Henri Menke
2016-10-18 14:24                     ` Peter Rolf [this message]
2016-10-19 14:23                     ` Alan Braslau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee8a6ae3-be5d-161b-90a0-275ae20dc7fd@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).