You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpecificResource currently requires either AnyUrl or an AnnoSelectorItem class, neither of which has the value property required by SvgSelector
Any other comments:
It looks like this construct was added to the schema (IIIF/presentation-validator@6a3a901) but after the last skeleton regeneration - so hopefully a regeneration should fix things pretty easily.
The text was updated successfully, but these errors were encountered:
@glenrobson did you get a chance to look at the RangeRef removal?
I am happy to put in a temporary hotfix for this using the skeleton modifier tool to allow the skeleton to be regenerated, which will add the SvgSelector and resolve Joe's issue.
I did and unfortunately it broke my automated tests. I think it would be better to move to this version of the schema: IIIF/presentation-validator#155 but it requires some work as it moves to if / then / else rather than oneOfs. I'm part way through writing some code to replace if / then / else with oneOfs for the conversion.
Ok, that sounds like a good plan. In the meantime any objection to me patching RangeRef back into the skeleton and making a new release so we can support SvgSelector?
You cannot create a target for an
Annotation
with aSpecificResource
that has a string value forselector
(see https://iiif.io/api/cookbook/recipe/0261-non-rectangular-commenting/ for an example)Expected behaviour:
SpecificResource
would allow theSvgSelector
constructObserved behaviour:
The selector attribute gets omitted completely when the JSON is printed
Potential bug location(s):
https://github.com/iiif-prezi/iiif-prezi3/blob/main/iiif_prezi3/skeleton.py#L97-L103
SpecificResource
currently requires eitherAnyUrl
or anAnnoSelectorItem
class, neither of which has thevalue
property required by SvgSelectorAny other comments:
It looks like this construct was added to the schema (IIIF/presentation-validator@6a3a901) but after the last skeleton regeneration - so hopefully a regeneration should fix things pretty easily.
The text was updated successfully, but these errors were encountered: