VOSI-1.1 Erratum 2 - Example corrections

Author: Patrick Dowler
Date:2019-04-12

The following Erratum amends the VOSI-1.1 recommendation.

Rationale

In VOSI 1.1 (ref), some of the VOSITables examples have incorrect xsi:type (vs:TAP should be vs:TAPType) and extraneous spaces that should not be there. This erratum is to fix those bugs in the examples.

Note: Although vs:TAPType may be deprecated and/or removed in future in favour of using vs:VOTableType, this erratum does not change the examples

Change of standards text

* Section 5.2: Change vs:TAP to vs:TAPType and remove extraneous spaces before closing elements; removed the single TAP_SCHEMA table from the example because it was in the same element (confusing and not relevant to showing what max detail means); added a comment to the example that possible additional schema was omitted in case someone compares this example with the min detail example below

* Section 5.3: remove extraneous spaces before closing elements

The new example for section 5.2 is:

<?xml version="1.0" encoding="UTF-8"?>
<vosi:tableset
  xmlns:vosi="http://www.ivoa.net/xml/VOSITables/v1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"
  version="1.1">

  <schema>
    <name>cfht</name>
    <table type="output">
      <name>cfht.deepU</name>
      <column>
        <name>cfhtlsID </name>
        <dataType xsi:type="vs:TAPType" size="30">adql:VARCHAR</dataType>
      </column>
      <column>
        <name>survey </name>
        <dataType xsi:type="vs:TAPType" size="6">adql:VARCHAR</dataType>
      </column>
      <column>
        <name>field </name>
        <dataType xsi:type="vs:TAPType" size="2">adql:VARCHAR</dataType>
      </column>
      <column>
        <name>pointing </name>
        <dataType xsi:type="vs:TAPType" size="6">adql:VARCHAR</dataType>
      </column>
      <column>
        <name>selectionFilter </name>
        <dataType xsi:type="vs:TAPType" size="2">adql:VARCHAR</dataType>
      </column>
    </table>
  </schema>
  
  <!-- additonal schema element in minimum detail example omitted for brevity -->

</vosi:tableset>

The new example for section 5.3 is:

<?xml version="1.0" encoding="UTF-8"?>
<vosi:tableset
  xmlns:vosi="http://www.ivoa.net/xml/VOSITables/v1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"
  version="1.1">

  <schema>
    <name>cfht</name>
    <table type="output">
      <name>cfht.deepU</name>
    </table>
  </schema>
  
  <schema>
    <name>TAP_SCHEMA</schema>
    <table type="output">
      <name>TAP_SCHEMA.tables</name>
    </table>
    <table type="output">
      <name>TAP_SCHEMA.columns</name>
    </table>
    <table type="output">
      <name>TAP_SCHEMA.keys</name>
    </table>
    <table type="output">
      <name>TAP_SCHEMA.key_columns</name>
    </table>
  </schema>

</vosi:tableset>

Change in VOSI.tex in volute svn revision 5388.

Impact Assessment

  • No impact is expected.

References

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2019-04-12 - PatrickDowler
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback