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

Ignore explicit declarations of reserved prefixes #632

Merged
merged 1 commit into from
Oct 21, 2015
Merged

Conversation

rdeltour
Copy link
Member

  • added a new method to Vocab to get the base URI of a vocabulary
  • In the prefix parsing utility of VocabUtil, check the URI associated
    with re-declared reserved prefix: an error is reported only if this
    URI is not the URI of the known vocabulary associated to the
    reserved prefix. In other words, explicit declaration of reserved
    prefixes is now allowed; trying to override a reserved prefix still
    raises an error.

Fixes #585

- added a new method to `Vocab` to get the base URI of a vocabulary
- In the prefix parsing utility of `VocabUtil`, check the URI associated
  with re-declared reserved prefix: an error is reported only if this
  URI is **not** the URI of the known vocabulary associated to the
  reserved prefix. In other words, explicit declaration of reserved
  prefixes is now allowed; trying to override a reserved prefix still
  raises an error.

Fixes #585
@rdeltour rdeltour self-assigned this Oct 21, 2015
@rdeltour rdeltour added this to the 4.0.1 milestone Oct 21, 2015
@rdeltour rdeltour merged commit ebc1c75 into master Oct 21, 2015
@rdeltour rdeltour deleted the issue/585 branch October 21, 2015 10:02
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

Successfully merging this pull request may close these issues.

Consider ignoring prefix redeclarations to reserved URI
1 participant