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

Define anyURI explicitly for internal references #216

Open
luciansmith opened this issue Apr 28, 2022 · 0 comments
Open

Define anyURI explicitly for internal references #216

luciansmith opened this issue Apr 28, 2022 · 0 comments

Comments

@luciansmith
Copy link
Contributor

By design and by convention, attributes of type 'anyURI' (particularly the 'source' attribute of a Model) may reference SED-ML elements by using a hashtag before the referenced ID to distinguish them from URLs or relative pathnames.

However, we don't actually say this anywhere in the spec; we just use it that way (cf listing 2.27 in section 2.2.4). We need to be explicit about this and instead of describing the anyURI data type as having two common use cases (URL and relative filename) we need to say there are three (URL, relative filename, SED-ML id).

Alternatively, we could in theory allow no-hashtag strings as references to any SED-ML ids that match, in preference to relative filenames that match. I would not recommend this, however.

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