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

Flag all keys and array elements that are IRIs, URIs, URLs, or URNs #42

Open
petervwyatt opened this issue Dec 19, 2022 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@petervwyatt
Copy link
Member

It has been requested to add a predicate identifying all keys or array elements that can be IRIs, URIs, URLs, or URNs (i.e. some form of web link). It is not decided if the subtle differences between these need to be identified or not - this should be dictated by the wording or normative reference used in ISO 32000-2 rather than by any implementation (which may or may not be correct!).

@petervwyatt petervwyatt added the enhancement New feature or request label Dec 19, 2022
@petervwyatt petervwyatt self-assigned this Dec 19, 2022
@petervwyatt
Copy link
Member Author

Thinking about this more broadly and in a generalized manner... maybe the predicate should be something like fn:CompliesWith(xxx) where xxx could be an RFC doc, an ISO standard, etc. and expressed using the Arlington grammar rules for a PDF key (a-z A-Z 0-9 _) in much the same way as fn:Extension(xxx)?

Then various CT entries could assert fn:CompliesWith(RFC_2045) to indicate a file format requirement for a valid content type, specific streams could assert fn:CompliesWith(ISO_15076) for ICC, etc. and expressions could be built up inside a wrapping fn:Eval(...) with logical OR || and logical AND &&.

PS. Note also that a lot of usage of RFCs in ISO 32000 relates to processor requirements and not file format requirements (e.g. encryption and filter related).

@a20dev
Copy link

a20dev commented Jan 18, 2023

Besides URLs and friends there is at least one other string entry that must conform to a standard: Lang

@petervwyatt
Copy link
Member Author

Also WKT in geographic coordinate system dictionaries.
And others...

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

No branches or pull requests

2 participants