Newbie question: MPEG7,XSV,Xerces

We are running a project to realize an application that writes MPEG-7
formatted output.
First we tried to use the Java version of Xerces 1.3.1. 
It has 3 major problems with the MDX.xsd of http://www.cselt.it
<http://www.cselt.it>  (which is based on the 2000/10 schema standard) :
1. Cannot understand the line <pattern
value="(/|//|\.|\.\.|([\i-[:]][\c-[:]]*))(\[\d\])?)+(@[\i-[:]][\c-[:]]*)?"/>
. Actually '\i' and '\c' are not valid regular expression tags, or are they
?
2. Cannot create a list of union.
  e.g.
...
          <simpleType>
           <list itemType="mpeg7:termReferenceType"/>
          </simpleType>
...
 
 <simpleType name="termReferenceType">
  <union>
   <simpleType>
    <restriction base="NMTOKEN">
     <whiteSpace value="collapse"/>
     <pattern value=":[^:]+:[^:]+"/>
    </restriction>
   </simpleType>
   <simpleType>
    <restriction base="uriReference"/>
   </simpleType>
  </union>
 </simpleType>
....

3. Has problems to instatiate recursive classes :
 
Schema:
 <complexType name="CollectionType" abstract="true">
  <complexContent>
   <extension base="mpeg7:DSType">
    <sequence>
     .
     .
     <element name="Collection" type="mpeg7:CollectionType" minOccurs="0"
maxOccurs="unbounded"/>
     .
     .
    </sequence>
    <attribute name="name" type="string" use="optional"/>
   </extension>
  </complexContent>
 </complexType>

XML file:
   <MultimediaContent xsi:type="MultimediaCollectionType">
    <StructuredCollection>
     <Collection xsi:type="SegmentCollectionType">
       <Collection xsi:type="SegmentCollectionType"> <!-- Here I get a
parser error -->
       </Collection>
     </Collection>

 
I tried to validate the schema file with the www-based XSV parser and it was
successful. After that I downloaded the XSV11a 
but this version gives error messages. It seems that the web-version is
newer as the downloadable. Anybody knows where to 
get that version of XSV ?
 
I  any help would be appreciated
 
Best Regards
 
Andras Horti



-----------------------------------------------------------
  Andras Horti
  Institute of Information Systems & Information Management
  JOANNEUM RESEARCH Forschungsgesellschaft mbH
  Steyrergasse 17, A-8010 Graz, AUSTRIA

  phone: +43-316-876-1227   fax: +43-316-876-1191
 
  web: http://iis.joanneum.ac.at <http://iis.joanneum.ac.at/> 
  e-mail: mailto:andras.horti@joanneum.at <mailto:andras.horti@joanneum.at> 
-----------------------------------------------------------





 

Received on Friday, 15 June 2001 07:30:57 UTC