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

Re: Content Model for Restrictions

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 30 Aug 2005 09:42:12 +0100
To: Kasimier Buchcik <kbuchcik@4commerce.de>
Cc: andrew.hodge@abs.gov.au, XML-SCHEMA <xmlschema-dev@w3.org>
Message-ID: <f5bpsrvizob.fsf@erasmus.inf.ed.ac.uk>
shopping cart technology model defintion

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kasimier Buchcik writes:

> XSV: no errors
>
> Xerces:
> aussie-2.xsd:13,51: (Error) rcase-Recurse.2: There is not a complete
> functional mapping between the particles.
> aussie-2.xsd:13,51: (Error) derivation-ok-restriction.5.4.2: Error for
> type 'RestTestEventPayload'.  The particle of the type is not a valid
> restriction of the particle of the base.
>
> Although TestEventPayload actually still defines an equal content
> model at the FSA level, it seems to hit the particle mapping
> constraint at the component level. Is this intended by the spec?

Yes and no.  The constructive rules of XML Schema 1.0 do indeed rule
it out.  The spirit (content models which accept a subset of their
base should be OK) would allow it, and as the public drafts of XML
Schema 1.1 have made clear, XML Schema 1.1 will make that official.

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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDFBvkkjnJixAXWBoRAgWPAJ90uq7XSE0D++kyyNzaJHpVg/i2GQCfU/0l
3EOCSRLrzNZi9OF5tzyQY8w=
=Ojn2
-----END PGP SIGNATURE-----
Received on Tuesday, 30 August 2005 08:42:34 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.