You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spinning off there, this would indicate that CRI templates are way easier to do – possibly with less flexibility thatn URI templates, but then also easier to use. A possible expression is using packed: [e'http', ["compare-texts", "example", "com"], [simple(0), simple(1)], ["html"]].
The text was updated successfully, but these errors were encountered:
A caveat is that composability of this style only works when there are no constraints on the characters permissible in a component, and there is no normalization on that component.
Personally I'd love if there was a straightforward way to put a URI into the authority component (no matter whether inner URI is than a DID, a nih or any other identifier), but those strings are subject to lowercasing, can't have inner dots (not sure about other characters) and (in some implementations) severe length limits.
Also, this doesn't work easily for the fragment (like I've used in single page web apps): only one string can be expanded into that.
We discussed composability of CRIs.
While there are dozens of ways to embed a URI in another URI, there's one straightforward way for CRIs:
For something that's vaguely URI template-ish
http://compare-texts.example.com/{first}/{second}/?html
:expands to
or eventually
(but can be well-usable in the top form)
Spinning off there, this would indicate that CRI templates are way easier to do – possibly with less flexibility thatn URI templates, but then also easier to use. A possible expression is using packed:
[e'http', ["compare-texts", "example", "com"], [simple(0), simple(1)], ["html"]]
.The text was updated successfully, but these errors were encountered: