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

Should ContentDataFacet warn on encountering image/jpg for observable:mimeType? #50

Open
ajnelson-nist opened this issue May 7, 2024 · 0 comments

Comments

@ajnelson-nist
Copy link
Member

This patch caught what, according to the cited RFC and the IANA Media Types registry, is a typo. This is an easy one to forget.

Should the API in FacetFile raise a warning (warnings.warn?) whenever image/jpg is used?

A solution in the ontology for this ambiguity issue was proposed in UCO Issue 363, but it is stalled on some logistical and design matters. Programming language-level review is another option for preventing this ambiguity, though it would be an encoding beyond what is in the ontology.

@ajnelson-nist ajnelson-nist changed the title Should ContentDataFacet warn on encountering image/jpg for observable:mimetype? Should ContentDataFacet warn on encountering image/jpg for observable:mimeType? May 7, 2024
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

1 participant