W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Re: xml schema validation

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 11 Mar 2004 08:53:18 +0000
To: gayathri veerarajan <gaytri_v@yahoo.co.in>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b1xnzsr29.fsf@erasmus.inf.ed.ac.uk>

Trivial XML errors: you have two empty restrictions at those line
numbers, instead of including the content model _within_ the
restriction:

    <xsd:restriction base="camera:Body"/>
      <xsd:element. . .

should be

    <xsd:restriction base="camera:Body">
     <xsd:sequence>
      <xsd:element. . .
      . . .
     </xsd:sequence>
    </xsd:restriction>

ht
-- 
 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@inf.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 Thursday, 11 March 2004 03:53:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC