OAI validation

Matthew Graham mjg at cacr.caltech.edu
Mon Jan 26 17:37:24 PST 2004


Hi Ray,

Can I confirm that the adil-v0.9.xml example file conforming to the latest
schema should be validated by the OAI Repository Explorer when returned in
ivo_vor metadata format, i.e. untouched? I am still getting validation
errors with adil-v0.9.xml:

XML Schema Validation Error !

 
[Error] re.CuheDz:15:903: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'VODescription'. One of
'{WC[##other:"http://www.openarchives.org/OAI/2.0/"]}' is expected.
[Error] re.CuheDz:19:21: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'Identifier'. One of
'{"http://www.ivoa.net/xml/VOResource/v0.9":Identifier}' is expected.
[Error] re.CuheDz:58:21: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'Identifier'. One of
'{"http://www.ivoa.net/xml/VOResource/v0.9":Identifier}' is expected.
[Error] re.CuheDz:84:21: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'Identifier'. One of
'{"http://www.ivoa.net/xml/VOResource/v0.9":Identifier}' is expected.
[Error] re.CuheDz:285:26: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'StandardURL'. One of
'{"http://www.ivoa.net/xml/VOResource/v0.9":StandardURL,
"http://www.ivoa.net/xml/VOResource/v0.9":StandardID,
"http://www.ivoa.net/xml/ConeSearch/v0.2":MaxSR}' is expected.
[Error] re.CuheDz:445:26: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'StandardURL'. One of
'{"http://www.ivoa.net/xml/VOResource/v0.9":StandardURL,
"http://www.ivoa.net/xml/VOResource/v0.9":StandardID,
"http://www.ivoa.net/xml/SIA/v0.6":ImageServiceType}' is expected.
/tmp/re.CuheDz: 3632;88;5 ms (438 elems, 41 attrs, 0 spaces, 14106 chars)
 
Of course, if I turn off schema validation then everything is
tickety-boo.

	Cheers,

	Matthew



More information about the registry mailing list