Re: Validating documents with ISO/IEC 15938-1 chapter 6 schema

Agree with what Heny said.  And, I've also noted that the following
definition is probably bogus:

 <complexType name="FragmentUpdatePayloadType">
  <!--  <any processContents="skip" minOcuurs="0"/>
      <anyAttribute namespace="##other" processContents="skip"/> -->
  <attribute name="hasDeferredNodes" type="boolean" use="optional"
default="false"/>
 </complexType>

because it does have an empty content!

In the attachment, I've modified your documents a little bit to make them
more closer
to what you want.  But, it still failed with empty content which you need
to modify your schema document further!

-Stanley

----- Original Message -----
From: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
To: "Alejandro Lopez" <alexl@salleurl.edu>
Cc: <xmlschema-dev@w3.org>
Sent: Tuesday, April 15, 2003 4:49 AM
Subject: Re: Validating documents with ISO/IEC 15938-1 chapter 6 schema


>
> Alejandro Lopez <alexl@salleurl.edu> writes:
>
> > Dear Henry,
> > I have modified the namespace, but I still have the same error,
> > This file is not valid:
> > No content model available for validation (possibly empty DTD/Schema)
> > Thank you in advance,
> > Alejandro.
>
> The schema is nowhere near complete -- there are no top-level element
> declarations, so there is nothing to validate with.  I think you need
> to learn more about XML Schema (start with the Primer [1]) and about
> MPEG-7's use of schemas -- for instance it may be that there are
> multiple schema documents in the ISO spec., and you have not gotten
> all the necessary ones.
>
> ht
>
> [1] http://www.w3.org/TR/xmlschema-0/
> --
>   Henry S. Thompson, HCRC Language Technology Group, University of
Edinburgh
>                       Half-time member of W3C Team
>      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>     Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
>      URL: http://www.ltg.ed.ac.uk/~ht/
>  [mail really from me _always_ has this .sig -- mail without it is forged
spam]
>
>

Received on Tuesday, 15 April 2003 13:00:53 UTC