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

spec.json should identify concepts and concept values by URI #36

Closed
dret opened this issue Dec 21, 2016 · 5 comments
Closed

spec.json should identify concepts and concept values by URI #36

dret opened this issue Dec 21, 2016 · 5 comments
Assignees
Labels

Comments

@dret
Copy link
Owner

dret commented Dec 21, 2016

currently spec.json "identifies" concepts and values by string value only:

{"ietf-httpbis-encryption-encoding": {
  "id": "http://webconcepts.info/specs/IETF/I-D/ietf-httpbis-encryption-encoding",
  "title": "Encrypted Content-Encoding for HTTP",
  "name": "Internet Draft ietf-httpbis-encryption-encoding",
  "URI": "urn:ietf:id:ietf-httpbis-encryption-encoding",
  "URL": "http://tools.ietf.org/html/draft-ietf-httpbis-encryption-encoding",
  "abstract": "This memo introduces a content coding for HTTP that allows message payloads to be encrypted.",
  "concepts": [
    {"http-content-coding": "aesgcm"},
    {"http-header": "Crypto-Key"},
    {"http-header": "Encryption"}]}}

this seems wrong because both concept and concept value should be identified by their ID (their URIs) as documented at http://webconcepts.info/JSON. i am inclined to just fix this, but wanted to see if anybody is using these values, and what they think about switching from plain strings to proper URIs.

@dret dret added the bug label Dec 21, 2016
@dret dret self-assigned this Dec 21, 2016
@dret
Copy link
Owner Author

dret commented Dec 21, 2016

pinging @kinlane @arno-di-loreto @pmhsfelix @mitraman because you might be using this?

@arno-di-loreto
Copy link

I'm not using webconcepts yet (on my Christmas holidays todo list! ), so no problem for me.

@dret
Copy link
Owner Author

dret commented Dec 22, 2016

this issue is related to #24 which is about how to identify concepts (and values).

@dret
Copy link
Owner Author

dret commented Dec 22, 2016 via email

dret added a commit that referenced this issue Dec 31, 2016
this example (taken from the current JSON) is suffering from this bug:
#36
@dret
Copy link
Owner Author

dret commented Dec 31, 2016

ffb2afc should fix this.

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