[Yanel-dev] 'rthtdocs' protocol now allows access to all
resource-types (ditto for 'rtyanelhtocs')
Guillaume Déflache
guillaume.deflache at wyona.com
Mon Aug 31 13:59:17 CEST 2009
Hi!
Just a quick message to announce that 'rthtdocs' and 'rtyanelhtocs'
protocols now allow access to all resource-types (not only the current
one)! This was done in revision 44493.
The syntax is not pretty, e.g.:
rthtdocs:http%3a%2f%2fwww.company.com%2fyanel%2fresource%2f1.0::shared:/page.xslt
Why is the syntax so horrible and lengthy:
- a unique ID for the resource-type must be used to be able to tell the
RT apart from all the others
- one needs to escape at least ':' and '/' to be able to detect the end
of the RT unique ID (marked by ':/')
- URL encoding is used to be consistent with what happens for
resource-types URLs, and because it is also easily recognizable
- the universal name format is not used because it is even more cryptic
and longer, and it introduces angle brackets, which are not allowed in
URIs (this was for example an issue with base URIs used as system IDs):
we could maybe also escape them but doing that makes things even more
unreadable...
Enjoy!
Guillaume
More information about the Yanel-development
mailing list