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

inclusion for cdgroups (and semantics of nested) cdgroups. #59

Closed
kohlhase opened this issue Oct 7, 2017 · 2 comments
Closed

inclusion for cdgroups (and semantics of nested) cdgroups. #59

kohlhase opened this issue Oct 7, 2017 · 2 comments
Assignees

Comments

@kohlhase
Copy link
Member

kohlhase commented Oct 7, 2017

In #57 proposes to add a cdgroup attribute to OMOBJ as a catalog for default cdbases. This works well, if we can build "the cdgroup of all things I care about". This would be made much much easier, if CDGroup had an inclusion mechahism.

Concretely, I propose to add an element CDGroupInclude with a href attribute that specifies the URI of the CDGroup to be included.

Acting on these inclusions would create "nested CDGroup", which we could flatten into an un-"nested CDGroup", which constitutes the meaning of the inclusion-extended CDGroup.

@kohlhase
Copy link
Member Author

kohlhase commented Oct 7, 2017

But if we want to use CDGroups as catalogs as suggested in #57, then

  1. we need CDURL children of CDGroupMember to be present (or defaulted).
  2. we need to require uniqueness (see there seems to be no uniqueness requirement for CD names in a CDGroup #60 for a discussions).

For 1. I would suggest that if a CDURL is not present, then its URL is derived from the CDGroup URL by replacing the file name with the value of the CDName field and appending the .cdg extension.

For 2. I propose that the last (we could equivalently also use the first, but last is more often used I think) URL for the CDName determines the catalog CDURL.

@kohlhase
Copy link
Member Author

kohlhase commented Oct 7, 2017

I have included this into #61.

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

2 participants