-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: aligned TEI examples to specification #88
Conversation
Signed-off-by: Paul Horton <[email protected]>
Maybe the examples are right and the specification should be modified. The first element you might expect in a URN is the authority. |
Fair comment @ppkarwasz - @oej - thoughts on the order of the items in TEI? We are questioning the current |
The TYPE needs to come first as we can come up with TEI types that has another resolution than DNS in the future. |
Aren't there two
For example:
Alternatively, to keep it simple:
|
I don't like restricting the TEI to ONLY DNS resolution. There will be a lot of work establishing the TEI as a common identifier and having to restart that work for new non-DNS types will be hard. Better to have one single identifier and be able to extend it. But you are not wrong that the PURL could be used for TEA discovery too, especially for stuff that is not packaged. That is a discussion we need to bring up in the PURL wg, I just haven't had time for it. We mentioned it briefly as an option in the SBOM forum vulnerabilities wg meeting. I'm thinking of commercial software and open source projects not primarily being distributed as packages (like C code). |
In that case shouldn't
For now the authority is I was also wondering: shouldn't we pass the entire TEI to the TEA server? E.g. |
I have been asking that in a few conversations. |
No, type indicates a specific syntax for a product identifier defined in our TEI document. For each type we define whether DNS is used or not. If DNS is NOT used, there has to be another way to discover the web site to find the API to. Having a type that is a company registration number doesn't really point to a specific product from that company. If there was a global database of registration numbers that resolves to DNS it could be an alternative resolution for a specific type. I have been looking at medical device IDs where the device ID actually has a company identifier embedded. If there's an ENUM-like way to resolve that in DNS, it could be a type with no DNS name. |
We really need to clarify the intent of the TEI. But that's another PR |
Created issue #89 to clarify the TEI URN more. It's definitely needed for registration with IANA/IETF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Time to merge. Discussions are moved to other tickets. Thank you for this PR!
Signed-off-by: Paul Horton <[email protected]>
Requested changes made @oej |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Thank you Paul!
Resolves #87