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

Clarify the XML id uniqueness constraint of a profile. #6

Closed
fosdev opened this issue Nov 4, 2013 · 0 comments
Closed

Clarify the XML id uniqueness constraint of a profile. #6

fosdev opened this issue Nov 4, 2013 · 0 comments
Assignees
Labels

Comments

@fosdev
Copy link
Contributor

fosdev commented Nov 4, 2013

This relates to #5 in that it could be possible to dereference an external profile that results in an XML document with non-unique ids. We talked about addressing this in authoring guidelines that indicate one must check this w/r to composing other profiles, linting profiles and their external references when they are submitted to catch non-uniqueness (albeit this does not catch changes in profiles after the fact).

So, external dependencies can really mess this up at any point if they change. One other option is a dereferencing guideline that if an id is found that is non-unique, turning it into a unique id and preserving the prior id as the name of a descriptor. If the descriptor already has a name, then one would only need to make the id non-unique.

This does also relate to #3 around the use of id vs. name.

At the heart of this is what does it mean to dereference an ALPS profile, should that deref'd profile still be valid ALPS (presumably yes) and what guidelines/constraints are necessary to ensure that.

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

No branches or pull requests

2 participants