-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target.tsv test for in EmbeddedFiles NameTree #108
Comments
@faceless2 - could I please get the test file so I can test the changes? |
Indeed! There's one at https://bfo.com/misc/notarizing-signatures/dave.pdf - this has other Arlington issues, but there are two actions in there which are currently being caught by this one (objects 23 and 24). (context for the file is at https://bfo.com/misc/notarizing-signatures/version2.html) |
Interesting PDF. I also created Errata #382 as a result of poking around... It is the only place in the Arlington model where |
On review, I also think we have a rule stating that if ie. for P: |
Coming back to
Target.tsv
- already been touched in in #38 and #49For the N key you are checking
fn:Eval(fn:Not(fn:IsPresent(fn:Not((@R==C) && fn:InNameTree(trailer::Catalog::Names::EmbeddedFiles)))))
to capture the requirement in table 205
This requirement can't be verified if the target link is to an embedded file within an embedded file, which is valid (and I have an example if you want it) - it contains this action, referencing the embedded-file "bob.pdf" attached to the embedded-file "charlie.pdf"
One way to fix this is to
Target.tsv
intoTarget.tsv
andTargetEmbedded.tsv
Target.tsv
, changeT
from[Target]
to[TargetEmbedded]
TargetEmbedded.tsv
that refer to properties of the PDF, such as InNameTree, NumberOfPages etc., as all these tests would need to be run on the target PDF, not the current PDF.The text was updated successfully, but these errors were encountered: