Simple DataLink question: Can links be relative?

Carlos Rodrigo crb at cab.inta-csic.es
Thu Feb 15 22:09:39 CET 2018


Hi Tom

In my understanding, whenever URL are provided by VO services, they must be full URLs. Otherwise,
clients would need to remember the url that generated the current VOTable to be able to complete the
following URL, what looks like a complication.

So, although I don't remember that this is specified explicitely by any standard, I would say that
relative URL are not a very good idea (at least at first sight).

In the DataLink particular case, it is said (sec 3.2.2)

"The access_url column contains a URL to download a single resource. The URL
in this column must be usable as-is with no additional parameters or client
handling; it can be a link to a dynamic resource (e.g. preview generation)."

So I think that it is clear that relative url's are not allowed.

Carlos

On 15/02/18 20:57, Tom McGlynn (NASA/GSFC Code 660.1) wrote:
> In a service descriptor  (4.1 in the sDataLink tandard) can I use a relative URL to describe the
> location of the service to be invoked in the accessURL?
> 
> Similarly can relative URLs be used in  a DataLink results table (section 3.2) in the accessURL
> column of  the table?
> 
>     Tom McGlynn
> 
> 
> 
> 
> 



More information about the dal mailing list