- From: Johann Dumortier <jdumortier@ina.fr>
- Date: Wed, 12 Jun 2002 12:09:32 -0400 (EDT)
- To: <xmlschema-dev@w3.org>
Hi everybody, I am currently working on MPEG-7 and especially on the validation of MPEG-7 descriptions against the MPEG-7 Schema. So far, I haven't found any tool able to parse and validate an instance correctly though they pretend to be XML Schema compliant. (For those who want to try, Schema files and samples are available on http://m7itb.nist.gov/M7Validation.html). ************* XSV1.203.2: The parser has a pb with the 'import' of a Schema, and generate following errors: <schemaDocAttempt URI='file:/F:/xml-1998.xsd' namespace='http://www.w3.org/XML/1998/namespace' otherLocs='' outcome='skipped' source='import'/> <schemaDocAttempt URI='file:/F:/ddl-2001.xsd' namespace='urn:mpeg:mpeg7:schema:2001' outcome='success' source='include'/> (...) <schemaDocAttempt URI='file:/F:/mds-2001.xsd' namespace='urn:mpeg:mpeg7:schema:2001' outcome='failure' source='include'> (...) <invalid> (...) attribute type check failed for {None}:ref: xml:lang is qualified by an unimported non-local namespace: http://www.w3.org/XML/1998/namespace</invalid> ************* XML Spy 4.3 et 4.4 the parser does not parse the MPEG-7 Schema correctly: visual-2001.xsd: This file is not valid: Schema error - undefined schema component 'base' encountered - simpleContent can not have a base that is a complexType with ComplexContent. (About RegionLocatorType and its base: Mpeg7:BoxListType) ************* Xerces 2.0.0 generates also errors during the parsing of the MPEG-7 Schema : [Error] MPEG7-description.xml:2:167: src-resolve.4: Components from namespace 'http://www.w3.org/XML/1998/namespace' are not referenceable from schema document 'file:///F:/mds-2001.xsd'. [Error] MPEG7-description.xml:2:167: src-ct.0.1: Complex Type Definition Representation Error for type 'Mpeg7Type'. Element 'attribute' is invalid, misplaced, or occurs too often. [Error] MPEG7-descriptionTheatre.xml:2:167: cos-ct-extends.1.4.2.2.2.2.1: Error for type '#AnonType_Mpeg7'. The content type of a derived type and that of its base must both be mixed or element-only. (...) ************* If anybody has an hint concerning these problems or knows a XML Schema Validator which could validate an MPEG-7 instance, I would be very interested! Thanks, Johann
Received on Thursday, 13 June 2002 04:08:06 UTC