<div dir="ltr"><div><div>The test validator got further today, but I did notice that I have to include the ? in the base URL. A small thing but I think a validator should check/handle that itself.<br><br>The main failures now are that our service has utypes with the "obscore:" prefix and the validator does not expect a prefix. It would be nice if the error report could tell which of the attributes was non-compliant.<br><br></div>There is also a warning: There should be no DATA element when RESOURCE is qualified by type="meta". Our response has a meta resource (service descriptor) but it does not have any DATA element in it so I don't know what this means....<br><br></div>Pat<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 March 2016 at 09:16, Patrick Dowler <span dir="ltr"><<a href="mailto:pdowler.cadc@gmail.com" target="_blank">pdowler.cadc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I tried to test our SIAv2 service with this validator and the first test fails with:<span class=""><br><br>Fatal: Error while retrieving data. Is the remote service URL correct?<br><br></span></div>I am guessing that the validator is not following HTTP redirects which we use in our implementation. I did try with and without the trailing ? (same result).<br><br></div>Pat<br><br></div>PS base url is <a href="http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/sia/v2query" target="_blank">http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/sia/v2query</a><br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 25 February 2016 at 02:23, Pierre Le Sidaner <span dir="ltr"><<a href="mailto:pierre.lesidaner@obspm.fr" target="_blank">pierre.lesidaner@obspm.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mark<br>
<br>
Thank you for you feed back<br>
It don't seem so clear for me I try to take some time to look at it more carefully.<br>
would it be relevant to discuss 10 mn during next interop in Apps or in Semantic to define what should be helpful to have in the VOtable Header to validate it<br>
Some parser failed when VOTable are not valid and it a lot of time loose in developing applications, not all developers have your VO skill.<br>
<br>
I'll come back with what I have understood at the end of the week or beginning of the next<br>
Regards<span><font color="#888888"><br>
Pierre</font></span><div><div><br>
<br>
On 02/25/2016 10:38 AM, Mark Taylor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, 25 Feb 2016, James.Dempsey@csiro.au wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
6. It would be nice to have lack of a schema location as a warning rather than showing as an invalid VO table.<br>
</blockquote>
I'm guessing this characteristic of the implementation might be<br>
related to the fact that it seems to be shockingly difficult to<br>
write java code that validates an XML document against a known XSD,<br>
regardless of any schema declaration in that document.<br>
I spent a lot of time banging my head against this in taplint;<br>
Pierre if you want to take a look at the way I do it, the relevant<br>
code (with fairly extensive comments) is mostly here:<br>
<br>
<a href="https://github.com/Starlink/starjava/blob/master/ttools/src/main/uk/ac/starlink/ttools/taplint/XsdStage.java" rel="noreferrer" target="_blank">https://github.com/Starlink/starjava/blob/master/ttools/src/main/uk/ac/starlink/ttools/taplint/XsdStage.java</a><br>
<br>
If you don't need to mix standard and private namespaces then<br>
it's less painful, you can see the previous version (prior to<br>
76db3dc66a9ab5c82) e.g. here:<br>
<br>
<a href="https://github.com/Starlink/starjava/blob/df07e0d45d8f814ce4fe32a564bbedf37adfe2b7/ttools/src/main/uk/ac/starlink/ttools/taplint/XsdStage.java" rel="noreferrer" target="_blank">https://github.com/Starlink/starjava/blob/df07e0d45d8f814ce4fe32a564bbedf37adfe2b7/ttools/src/main/uk/ac/starlink/ttools/taplint/XsdStage.java</a><br>
<br>
You're welcome to use or abuse anything there if you think it would<br>
help, though it still might take some implementation effort to adapt<br>
it to your purposes.<br>
<br>
If this lot is not relevant - sorry! just ignore it.<br>
<br>
Mark<br>
<br>
--<br>
Mark Taylor Astronomical Programmer Physics, Bristol University, UK<br>
<a href="mailto:m.b.taylor@bris.ac.uk" target="_blank">m.b.taylor@bris.ac.uk</a> <a href="tel:%2B44-117-9288776" value="+441179288776" target="_blank">+44-117-9288776</a> <a href="http://www.star.bris.ac.uk/~mbt/" rel="noreferrer" target="_blank">http://www.star.bris.ac.uk/~mbt/</a><br>
</blockquote>
<br>
<br></div></div><div><div>
-- <br>
-------------------------------------------------------------------------<br>
Pierre Le Sidaner<br>
Observatoire de Paris<br>
<br>
Direction Informatique de l'Observatoire<br>
Observatoire Virtuel 01 40 51 20 82<br>
61, avenue de l'Observatoire 75014 Paris<br>
<br>
mailto:<a href="mailto:pierre.lesidaner@obspm.fr" target="_blank">pierre.lesidaner@obspm.fr</a><br>
<a href="http://vo.obspm.fr" rel="noreferrer" target="_blank">http://vo.obspm.fr</a><br>
<br>
--------------------------------------------------------------------------<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div><div dir="ltr"><div><div>Patrick Dowler<br></div>Canadian Astronomy Data Centre<br></div>Victoria, BC, Canada<br></div></div>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Patrick Dowler<br></div>Canadian Astronomy Data Centre<br></div>Victoria, BC, Canada<br></div></div>
</div>