Skip to content

Inconsistencies between motivations types (list, string) in Content State API #2313

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

Open
giacomomarchioro opened this issue Aug 30, 2024 · 2 comments · May be fixed by #2325
Open

Inconsistencies between motivations types (list, string) in Content State API #2313

giacomomarchioro opened this issue Aug 30, 2024 · 2 comments · May be fixed by #2325
Labels
content-state Issue relates to the content state API presentation

Comments

@giacomomarchioro
Copy link

Hi all,
Although in https://www.w3.org/TR/annotation-model/ motivation is always followed by a string in Content State API it is always a list, except for the Multiple targets section where motivation value is a string e.g.:

"motivation": "contentState", instead of "motivation": ["contentState"],

Should they be uniformed?

@markpbaggett
Copy link

Just noticed this as well. It seems like the example should be "motivation": ["contentState"].

@glenrobson glenrobson linked a pull request Dec 3, 2024 that will close this issue
@azaroth42 azaroth42 added presentation content-state Issue relates to the content state API labels Mar 17, 2025
@azaroth42
Copy link
Member

Eds agree - should always be a list. Changes will be made in the next versions.

@azaroth42 azaroth42 added this to the Presentation 4.0 milestone Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content-state Issue relates to the content state API presentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants