W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

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

From: Stanley Guan <stanley.guan@oracle.com>
Date: Tue, 15 Apr 2003 09:52:14 -0700
Message-ID: <03c301c3036f$5da36b70$c5b42382@us.oracle.com>
To: "Alejandro Lopez" <alexl@salleurl.edu>
Cc: <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT