Old ucd names invalid with VOTable-1.1 schema

From: Fabien Chereau <fchereau-at-eso.org>
Date: Fri, 15 Jun 2007 14:34:53 +0200


Hello,

I just discovered that the VOTable 1.1 schema provided at http://www.ivoa.net/xml/VOTable/v1.1 does not allow for old style UCD like VOX:Image_Naxis. The problem is that the value is not facet-valid with respect to pattern '[A-Za-z0-9_.;\-]*' for type 'ucdType'. In clear, the ':' is missing in xsd document.

More generally, I am surprised by the fact that most of the VOtable that can be found on various services are invalid. I think very few people are aware of this because most of the VOTable xml files don't specify the xsi:schemaLocation attribute and therefore cannot be validated automatically.

As a reminder, to allow validation, a proper VOTABLE tag should be like that:

<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.1 http://www.ivoa.net/xml/VOTable/v1.1">

Best regards,

Fabien Chereau Received on 2007-06-15Z12:35:41