W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2005

Re: Need help with Unique Particle Attribution Rule

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 07 Jan 2005 14:44:35 +0000
To: Tom Moog <tmoog@sarvega.com>
Cc: Michael Kay <mike@saxonica.com>, xmlschema-dev@w3.org
Message-ID: <f5boeg1z4bw.fsf@erasmus.inf.ed.ac.uk>

So in DTD notation, which is easier to work with in cases like this,
your original is

  ( (admin, error?)* , deviceTypeInfo*, error? )

I fear this is effectively equivalent to the known-to-be-inexpressable
in a valid DTD content model chess-game problem, i.e. (w, b)* , w?

If the semantics are as they appear to be (I'm just guessing), the
most appropriate solution is to introduce a wrapper:

  ( (admin, error?)* , extra? )

extra: ( deviceTypeInfo*, error? )

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 Friday, 7 January 2005 14:44:43 GMT

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