Jumps: IvoaResReg :: registry mail archive :: RofR :: RegistryOperations :: SIA standard
Meetings: InterOpMay2009ResReg
Validation Tests: Simple Image Access
Requirements
These tests are drawn from "MUST" statements in the
SIA standard
4.1a A legal query must not return an HTTP server error.
4.1b A legal query must not return a VOTABLE response in which the
INFO
element with the attribute
name="QUERY_STATUS"
has the value
"ERROR"
.
4.2a An Image Query request must return a response as a legal VOTable document
4.2b The VOTable query response must be returned with a MIME-type of "text/xml;content=x-votable"
4.2.1a The VOTable query response must contain exactly one
RESOURCE
element with the attribute
type="results"
.
- this element will be referred to as the Results Resource
- the VOTable may contain other
RESOURCE
elements as long type
is not set to "results"
.
4.2.1b The
Results Resource must contain exactly one
TABLE
element.
4.2.4 The table in the
Results Resource must include the required columns, each identified by its
ucd
attribute set to a specified UCD, with the following constraints:
- /a there is exactly one column with the specified UCD
- /b the column has the specified type, given by the column's
type
attribute
- /c the column has the specified array size, given by the column's
arraysize
attribute.
- /d the column has the specified unit, given by the
unit
attribute.
4.2.4a Test
4.2.4 must be true for a column with
ucd="VOX:Image_Title"
,
datatype="char"
and
arraysize="*"
.
4.2.4d Test
4.2.4 must be true for a column with
ucd="POS_EQ_RA_MAIN"
,
datatype="double"
, and
unit="degrees"
.
4.2.4e Test
4.2.4 must be true for a column with
ucd="POS_EQ_DEC_MAIN"
,
datatype="double"
, and
unit="degrees"
.
4.3d The value of the
INFO
element with the attribute
name="QUERY_STATUS"
must be one of
"OK"
,
"ERROR"
, or
"OVERFLOW"
.
Warnings
These tests are drawn from strongly encouraged "SHOULD" statements in the
SIA standard
and other recommendations from the IVOA. Compliance with these recommendations, while not required, are expected to significantly improve interoperability.
4.2.1c The
Results Resource should be the first
RESOURCE
element in the VOTable.
- this supports simple SIA consumers that (incorrectly) assume that the VOTable only contains one
RESOURCE
- this makes visual inspection easier while debugging.
4.2.2a The
Results Resource containing successful search results should include one
INFO
element with the attribute
name="QUERY_STATUS"
.
Recommendations
These tests are drawn from other "SHOULD" statements in the
SIA standard
and other recommendations from the IVOA that improve the quality of the service.