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
passes validation when the file is opened (but does fail when asdf attempts to check these history entries with a AttributeError: 'str' object has no attribute 'extension_uri').
The text was updated successfully, but these errors were encountered:
asdf-standard/resources/schemas/stsci.edu/asdf/core/asdf-1.1.0.yaml
Lines 43 to 50 in c367d14
Since the
items
value is a list (instead of an object) and there is noadditionalItems
the draft 4 defines this behavior:https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.8.2.3.2
as validating only the first item in the list against the schema (since there's only 1 schema in the list).
A similar issue exists with the "backwards compatible" part of the same schema:
asdf-standard/resources/schemas/stsci.edu/asdf/core/asdf-1.1.0.yaml
Lines 24 to 27 in c367d14
Loading an ASDF file (hand edited) that includes:
passes validation when the file is opened (but does fail when asdf attempts to check these history entries with a
AttributeError: 'str' object has no attribute 'extension_uri'
).The text was updated successfully, but these errors were encountered: