Problem validating VOTable 1.1

Mark Taylor m.b.taylor at bristol.ac.uk
Mon Nov 22 06:08:36 PST 2004


On Fri, 19 Nov 2004, Raul Gutierrez Sanchez wrote:

> Hi everybody,
> I am trying to validate one of my VOTable documents against the VOTable 
> 1.1 schema and I have found problems when using UCD namespaces. The use 
> of namespaces, as said in the UCD recommendation, seems to be accepted, 
> however, it is not possible to validate the document because colons (:) 
> are not permitted in ucd arguments. Have anybody a clue about this topic?
> 
> Thanks,
> Raúl

I'm not an expert on UCDs or XML Schema, but it looks to me like as
Raul suggests this is an error in the VOTable 1.1 schema, which defines 
the content of the ucd attribute as ucdType, where ucdType is defined:

   <xs:simpleType  name="ucdType">
     <xs:restriction base="xs:token">
       <xs:pattern  value="[A-Za-z0-9_.;\-]*"/><!-- UCD1 use also / + % -->
     </xs:restriction>
   </xs:simpleType>

Presumably the pattern value should be something more like 
"[A-Za-z0-9_.;:\-]" (though I haven't checked with the UCD definition
that even that is correct).  Can someone who knows XML Schema and UCD
comment?

Mark

-- 
Mark Taylor    Starlink Programmer     Physics,  Bristol University, UK
m.b.taylor at bris.ac.uk +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/




More information about the votable mailing list