RE: [XML Schema 1.1] The <restriction> element is not declared in the DTD for XML Schema 1.1

Perhaps I'm not understanding. Shouldn't the declaration for restriction be this:

     <!ELEMENT xsd:restriction
         ( xsd:annotation?,
           (
             xsd:openContent?, (xsd:all | xsd:choice | xsd:sequence | xsd:group)?
           |
             (xsd:simpleType?, xsd:facet*)
           ),
           (xsd:attribute | xsd:attributeGroup)*,
           xsd:anyAttribute?
         )> 

Note the addition of an optional xsd:openContent prior to (xsd:all ...)

Is this correct?

/Roger

> -----Original Message-----
> From: C. M. Sperberg-McQueen [mailto:cmsmcq@blackmesatech.com] 
> Sent: Friday, July 03, 2009 12:48 PM
> To: Costello, Roger L.
> Cc: C. M. Sperberg-McQueen; xmlschema-dev@w3.org
> Subject: Re: [XML Schema 1.1] The <restriction> element is 
> not declared in the DTD for XML Schema 1.1
> 
> 
> On 3 Jul 2009, at 10:09 , Costello, Roger L. wrote:
> 
> >
> >
> > Shouldn't openContent be in there?
> 
> 
> Er, Roger, we are talking about DTDs here, remember?
> 
> DTDs don't have wildcards, apart from the ANY keyword,
> which is not useful as a substitute for open content.
> 
> -- 
> ****************************************************************
> * C. M. Sperberg-McQueen, Black Mesa Technologies LLC
> * http://www.blackmesatech.com
> * http://cmsmcq.com/mib
> * http://balisage.net
> ****************************************************************
> 
> 
> 
> 
> 

Received on Friday, 3 July 2009 22:11:30 UTC