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

Corpus.nextUrnAtSameLevel(CtsUrn), Corpus.nextUrnAtSameLevel(CtsUrn) ? #51

Open
Eumaeus opened this issue Mar 26, 2017 · 1 comment
Open

Comments

@Eumaeus
Copy link
Contributor

Eumaeus commented Mar 26, 2017

I think prev/next should work like this:

  • given a leaf-node citation: prev & next each return a URN to a single citable node.
  • given a range-citation: prev & next should work as they do.
  • given a URN to a non-range containing element: prev & next should…
    • return a non-range citation to the previous or next containing element at the same level, or
    • …if there isn't one, a URN to the previous or next leaf-node.

Does this make sense? Does it seem right?

@neelsmith
Copy link
Contributor

I think that sounds right.

@neelsmith neelsmith added this to the dsl review milestone Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants