-
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
More minor issues #38
Comments
Thanks for the very comprehensive and detailed report! |
Re |
Re My documentation of the predicates and/or the model itself may not be 100% consistent with these ideas ATM... |
Re predicates on The |
sigh, I was worried you'd say that. Up until now a "path" in a predicate has only had to return a single path - even for wildcards, because
The specific issue I was hitting is I do take the point that it's complicated, in particular for |
Let me review the |
The ImageMask stuff I was on about is in |
Re
Can you think of an elegant way to capture "associated with a file attachment annotation" - I'm thinking the To stop false triggering on the insufficient/partial condition, I'll set Required==FALSE for now on |
When I filed the issue I'd assumed you'd run with EDIT: in fact that's a pretty important point now I think about it. Whether target "is located in the EmbeddedFiles name tree" (for "N") or "is associated with a file attachment annotation" (for "R"), you've got no way to determine either of these without a custom predicate because you're potentially talking about a completely different PDF to the current one. Even with a custom predicate, that's suddenly a very expensive operation - if you're linking to a grandchild, you potentially have to extract and parse the embedded file that is the intermediate step to validate this. |
Summarizing remaining unresolved topics in this issue since I won't get to revisit for at least a week or 2 due to ISO meetings:
If I missed anything please say so! |
@petervwyatt I'm confused by some of the IsPresent usage as well and maybe "Special Cases" in general. The description says:
That doesn't seem to match its actual usage, for example in 3DUnits.tsv used under
This seems like I see other uses as well in special cases eg. But some other specials cases examples don't seem consistent:
edit: Another expression that seems odd: |
I'm kind of regretting the redundancy of Your other comments need further consideration... |
We've just pulled the latest model and incorporated it so here's some feedback on the changes over the last couple of weeks. Almost all minor, so all in one issue if that's OK.
CertSeedValue.tsv
SignaturePolicyHashAlgorithm
has the possible-values in the default-value columnPaperMetaData.tsv
fn:Eval((@ECC>=0) && (((@Symbology==PDF417) && (@ECC<=8)) || (@Symbology==QRCode) && (@ECC<=3)))
is troubling because we need the precedence rules betwen && and || to implement. I think you need brackets around the final two, after the ||, to remove ambiguity and match the grammar description which requires them.ArrayOfCIDGlyphMetricsW.tsv and ArrayOfCIDGlyphMetricsW2.tsv
Key is
*
, required is true - but the guide saysXObjectImage.tsv
You've got a few special tests that include
fn:IsPresent(ImageMask)
- well, I'm sorry to say I have a file here with/ImageMask false
and it's failing. I think the test needs to be rephrased to test ifImageMask=true
, which I don't believe is implied by IsPresent based on its description (my emphasis):ActionGoToE.tsv
F
is marked as required, but it's not:Target.tsv
N
is required iffn:IsRequired((@R==C) && fn:InMap(trailer::Catalog::Names::EmbeddedFiles))
, and is supposed to be disallowed if the inverse condition exist. But thespecial case is
[fn:Not(fn:IsPresent((@R!=C) || fn:Not(fn:InMap(trailer::Catalog::Names::EmbeddedFiles))))]
which I think is wrong (and also makes my head hurt). Shouldn't this be
fn:Not(fn:IsPresent((@R==C) && fn:InMap(trailer::Catalog::Names::EmbeddedFiles)))
Also,
P
is "Required if the value of R is C and the target is associated with a file attachment annotation; otherwise, it shall be absent)", but the nuance of "associated with a file attachment annotation" is not captured. Neither is the "otherwise shall be absent" bit.A
has similar requirements, except here "Required" is just set to false.ArrayOfPages.tsv
You've got a new special-case test here,
[fn:Eval(fn:IsPresent(*::SeparationInfo))]
- this is a weird test in the spec, which seems to require that EVERY child hasSeparationInfo
. As I understand the wildcard it would be interpreted as AT LEAST ONE child hasSeparationInfo
.Finally, can I just say thank you for merging
StandardLayoutAttributesBLSE
and friends, which had caused all sorts of grief. New approach is 👍.The text was updated successfully, but these errors were encountered: