<div dir="ltr"><div dir="ltr">Hi Christine,<br></div><div dir="ltr"><br></div><div>I don't see text in the spec that would indicate that relative URLs are not allowed either, and they are legitimate values for 'anyURI'.</div><div><br></div><div><a href="https://www.w3.org/TR/xmlschema11-2/#anyURI">https://www.w3.org/TR/xmlschema11-2/#anyURI</a><br></div><div><br></div><div>But since they're not mentioned in UWS I'd say the regular rules determining the base of relative URLs should be applied (<a href="https://www.w3.org/TR/WD-html40-970917/htmlweb.html">https://www.w3.org/TR/WD-html40-970917/htmlweb.html</a> section 5.1.2), in which case they would be relative to the result-list endpoint. One would get the result that contains the relative URL from:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">/{jobs}/{job-id}/results/{myresult}</span><br></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">Which would contain (for example) ./rel-url/to/result</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">And resolve to</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">/{jobs}/{job-id}/results/rel-url/to/result</span><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">This seems to agree with the sentence in section 2.2.2.3 of UWS "</span><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">A sensible default for their URIs is to make them children of /{jobs}/{job-id}/results, but this is not required.".</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">Cheers,</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">Brian</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px"><br></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 31, 2019 at 1:09 PM Christine Banek <<a href="mailto:CBanek@lsst.org">CBanek@lsst.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi all,<br>
</p>
<p><br>
</p>
<p>I just got an interesting bug report on pyvo today and after reading the UWS spec hoping for some clarity, I'm at a loss if this is allowed. Here's the original issue:<br>
</p>
<p><br>
</p>
<p><a href="https://github.com/astropy/pyvo/issues/191" target="_blank">https://github.com/astropy/pyvo/issues/191</a><br>
</p>
<p><br>
</p>
<p>Basically, the result URL field in a UWS async job is a relative URL. Is this allowed / part of the spec? If relative is allowed, is that URL considered relative to the UWS Job URL? Since it seems to work with TOPCAT, I've added Mark as well to get his
feelings.<br>
</p>
<p><br>
</p>
<p>Thanks all,<br>
</p>
<p>Christine<br>
</p>
</div>
</blockquote></div></div>