Skip to content
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

Validator does not check for motivation of painting in annotations referenced in items #124

Open
markpbaggett opened this issue Oct 14, 2021 · 1 comment

Comments

@markpbaggett
Copy link

Today I noticed that there was a change to Recipe 219. One of the changes was that the caption switched its motivation to supplementing, and the annotation was moved from the items property to annotations. This second part caught me by surprise as it was different to what we did for our A/V (here is an example).

In an effort to figure out why the property change, I talked to some others and was pointed to 5.3 of the Presentation specification:

Content that is to be rendered as part of the Canvas must be associated by an Annotation that has the motivation value painting. These Annotations are recorded in the items of one or more Annotation Pages, referred to in the items array of the Canvas. Annotations that do not have the motivation value painting must not be in pages referenced in items, but instead in the annotations property. Referenced, external Annotation Pages must have the id and type properties.

I then checked and discovered that the validator doesn't seem to test for this. If it's helpful, I will try to add this.

@glenrobson
Copy link
Member

Thanks Mark this would be helpful if you can add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants