Dear list,
I attach a PDF/A-3 document that veraPDF-1.15.1 detects as breaking the rule 6.4.3-1.
The extended information shows the following (edited for legibility):
PDSignature doesByteRangeCoverEntireDocument == true root/document[0]/AcroForm[0]/formFields[0](7 0 obj PDSignatureField)/V[0](1 0 obj PDSignature)
Does the info above mean that the object 7 in the PDF document isn’t included in the signature byte range?
Many thanks for your help,
Pablo
Dear Pablo,
The error message says that there is an issue with the ByteRange property of the digital signature field located in the PDF object 7.
We'll double check this manually and come back with more feedback shortly.
Best regards, Boris
-----Original Message----- From: Users [mailto:users-bounces@lists.verapdf.org] On Behalf Of Pablo Rodriguez Sent: Tuesday, February 27, 2018 9:12 AM To: veraPDF Users users@lists.verapdf.org Subject: [veraPDF-users] document breaking rule 6.4.3-1
Dear list,
I attach a PDF/A-3 document that veraPDF-1.15.1 detects as breaking the rule 6.4.3-1.
The extended information shows the following (edited for legibility):
PDSignature doesByteRangeCoverEntireDocument == true root/document[0]/AcroForm[0]/formFields[0](7 0 obj PDSignatureField)/V[0](1 0 obj PDSignature)
Does the info above mean that the object 7 in the PDF document isn’t included in the signature byte range?
Many thanks for your help,
Pablo -- http://www.ousia.tk
Hi,
When I validate a particular PDF/A-3 B file with a file attachement (I can send you the file upon request, I just don't want to publish it via this list), VeraPDF 1.10.6 on a Mac with Java 1.8.0_40 will throw an exception and report two errors against ISO 19005-3:2012, Clause: 6.1.7.
The report says Exception: Exception caught when extracting features of item caused by exception: org/junit/rules/ExternalResource caused by exception: org.junit.rules.ExternalResource
Specification: ISO 19005-3:2012, Clause: 6.1.7, Test number: 1 The value of the Length key specified in the stream dictionary shall match the number of bytes in the file following the LINE FEED (0Ah) character after the stream keyword and preceding the EOL marker before the endstream keyword. Failed CosStream isLengthCorrect root/document[0]/metadata[0](46 0 obj PDMetadata)/stream[0] root/indirectObjects[9](46 0)/directObject[0]
The stacktrace on the console reads as follows:
Mär 21, 2018 10:20:15 AM org.verapdf.processor.ProcessorImpl extractFeatures WARNUNG: Exception caught when extracting features of item java.lang.NoClassDefFoundError: org/junit/rules/ExternalResource at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.verapdf.processor.FeaturesPluginsLoader.loadExtractorByClassNames(FeaturesPluginsLoader.java:177) at org.verapdf.processor.FeaturesPluginsLoader.loadExtractor(FeaturesPluginsLoader.java:142) at org.verapdf.processor.FeaturesPluginsLoader.getExtractorFromConfig(FeaturesPluginsLoader.java:112) at org.verapdf.processor.FeaturesPluginsLoader.getAllExtractors(FeaturesPluginsLoader.java:89) at org.verapdf.processor.FeaturesPluginsLoader.loadExtractors(FeaturesPluginsLoader.java:80) at org.verapdf.processor.ProcessorImpl.getPlugins(ProcessorImpl.java:308) at org.verapdf.processor.ProcessorImpl.extractFeatures(ProcessorImpl.java:290) at org.verapdf.processor.ProcessorImpl.process(ProcessorImpl.java:126) at org.verapdf.processor.BatchFileProcessor.processItem(BatchFileProcessor.java:98) at org.verapdf.processor.BatchFileProcessor.processList(BatchFileProcessor.java:74) at org.verapdf.processor.AbstractBatchProcessor.process(AbstractBatchProcessor.java:102) at org.verapdf.gui.ValidateWorker.doInBackground(ValidateWorker.java:123) at org.verapdf.gui.ValidateWorker.doInBackground(ValidateWorker.java:58) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.junit.rules.ExternalResource at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 30 more
I guess the exception is to be fixed? How can I help?
Itext RUPS shows 3546 bytes for Metadata 0 Stream 0. In an editor that looks like the embedded file starts there, but I guess it's compressed because when I save it from Adobe Reader it 8235 bytes. Are the reported errors reliable if an exception is thrown? https://www.pdf-online.com/osa/validate.aspx signals a valid document.
thanks and kind regards Jochen
users@lists.openpreservation.org