[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: It seems to be a problem with the XML Schema for Schemas which is normative...

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 26 Jan 2005 12:34:24 +0000
To: Mathieu Lemoine <Swoog@laposte.net>
Cc: xmlschema-dev@w3.org, Hussien Shafie <hussein@pixware.fr>
Message-ID: <f5bmzuwjrn3.fsf@erasmus.inf.ed.ac.uk>
it seems ... to...

Mathieu Lemoine <Swoog@laposte.net> writes:

>     Hussien Shafie, XMLmind _<hussein@pixware.fr>_
>
>         Why doesn't __xsdvalid__ complain about base="xs:anyType" in:
>         ---
>         <xs:complexType base="xs:anyType" name="empty" />
>         ---
>         ?
>
>         __xsdvalid__ works in 2 passes:
>         [1] The XML Schema For Schemas *which is normative* is used to
>         validate your schema.
>         [2] __xsdvalid__ translates the XML to validation objects,
>         without checking what should have been checked during first
>         pass. (Yes, there is a form of bootstrapping here.)

This is a sensible architecture, but I don't understand the reply from
XML Mind -- the sForS does in fact rule out a base attribute on
xs:complexType elements, so their tool should throw it out at [1].

I've moved this discussion to xmlschema-dev, since it's not an issue
about the REC as such.

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 Wednesday, 26 January 2005 12:34:35 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.