W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

MPEG-7 Schema Validation

From: Johann Dumortier <jdumortier@ina.fr>
Date: Wed, 12 Jun 2002 12:09:32 -0400 (EDT)
Message-ID: <00d801c2122b$7f84f9b0$8a2502c2@lubna>
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

The parser has a pb with the 'import' of a Schema, and generate following

<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:

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.
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


Received on Thursday, 13 June 2002 04:08:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC