<div dir="ltr"><div><div><div>I tried to test our SIAv2 service with this validator and the first test fails with:<br><br>Fatal: Error while retrieving data. Is the remote service URL correct?<br><br></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">http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/sia/v2query</a><br></div><div class="gmail_extra"><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 class="HOEnZb"><font color="#888888"><br>
Pierre</font></span><div class="HOEnZb"><div class="h5"><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 class="HOEnZb"><div class="h5">
-- <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>-- <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>