W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2004

Re: I'd appreciate a second-look at this, just to double-check

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 28 Oct 2004 09:13:15 +0100
To: George Cristian Bina <george@oxygenxml.com>
Cc: Michael Kay <mike@saxonica.com>, "'Farber, Saul (ENV)'" <Saul.Farber@state.ma.us>, xmlschema-dev@w3.org, www-xml-schema-comments@w3.org
Message-ID: <f5bsm7zclb8.fsf@erasmus.inf.ed.ac.uk>

George Cristian Bina <george@oxygenxml.com> writes:

> We apply then http://www.w3.org/TR/xmlschema-1/#rcase-RecurseAsIfGroup
> B:
>    <choice minOccurs="1" maxOccurs="unbounded">
>        <element ref="test:basicBit" minOccurs="1" maxOccurs="1"/>
>        <element ref="test:restrictedBasicBit" minOccurs="1" maxOccurs="1"/>
>      <choice>
> R:
>      <choice minOccurs="1" maxOccurs="1">
>          <element ref="test:restrictedBasicBit" maxOccurs="unbounded"/>
>      </choice>

Yes, I think that step is where the problem arises.  I think the
intent is clear, and this _should_ be OK, and the REC is trying to get
it right, but failing.  _If_ we could convince ourselves that putting
the occurrence range on the synthesised group instead of leaving it on
the element was not just the right thing here, but always, there might
be a chance for an erratum against 1.0 here.

This is one of the places where XSV, which abandoned the constructive
rules some time ago to pilot the move planned for 1.1 to a strictly
subsumption/subset definition of allowed restriction, disagrees with
the letter of the REC (but not the spirit), and allows the

 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, 28 October 2004 08:13:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:02 UTC