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

Advisability of non-HTTP URI examples #775

Closed
nicholascar opened this issue Feb 25, 2019 · 3 comments
Closed

Advisability of non-HTTP URI examples #775

nicholascar opened this issue Feb 25, 2019 · 3 comments

Comments

@nicholascar
Copy link
Contributor

nicholascar commented Feb 25, 2019

Some of the examples in Profile Conneg use URNs to identify profiles, for example Example 1 uses urn:example:profile:1 alongside http://example.org/profiles/2.

Should we continue to use URNs in examples, given that Profile Guidance will indicate URIs should be used (see https://w3c.github.io/dxwg/profiles/#RPFDECOS) and that most URIs use are now HTTP URIs? (yes, an assertion but I think true)

This issue was raised due to an OGC presentation of Profile Conneg where the use of a URN in an example was seen as uncomfortable.

@makxdekkers
Copy link
Contributor

@nicholascar Using URN in examples is not in conflict with the note "A profile MUST have URI (or an IRI?) identifying it. The URI SHOULD be an http URI". A URN is a URI, just not a http URI.

@nicholascar
Copy link
Contributor Author

@makxdekkers yes, agreed. I suppose I’m questioning the advisability of URN examples, rather than ruling them completely incomparable. I’ll change the title to reflect this.

A legitimate answer to this issue might be that there is a continuing case for URNs and this examples using them are warranted. I never use URNs so I’d like to hear someone champion them if we are to keep using them in examples.

@nicholascar nicholascar changed the title Validity of non-URI examples Advisability of non-HTTP URI examples Feb 25, 2019
@nicholascar
Copy link
Contributor Author

Duplicate of #690

@nicholascar nicholascar marked this as a duplicate of #690 Feb 28, 2019
Content Negotiation by Profile automation moved this from To do to Done Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants