-
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
Undocumented use of @<key name> for an array of objects #57
Comments
Yes it is - see https://github.com/pdf-association/arlington-pdf-model/blob/master/INTERNAL_GRAMMAR.md#validation-of-predicates-declarative-functions, 7th bullet point. I may not have been consistent with implementation or usage, but the intention has always been there and documented. |
In this case, the problem is a part of path is missing between |
Ahh! OK - I misunderstood. The issue is for A in The core issue is that Annots is an array on page objects but the target dictionary could be "deeper" in a page's DOM tree (which is why For the integer case of A, the current predicate reads OK:
which also implies
which reads aloud quite similar to the spec wording... |
The A key for Target object uses the expression
fn:Eval(@A==fn:PageProperty(@P,Annots::@NM))
for possible values. It looks likeAnnots::@NM
tries to reference a key in the array of objects, which is not defined by the internal grammar.The text was updated successfully, but these errors were encountered: