Question about 3.4.2, <restriction> content

Hello,

In section 3.4.2, we can read:

=============================================================
<restriction
   base = QName
   id = ID
   {any attributes with non-schema namespace . . .}>
   Content: (annotation?, (simpleType?, (minExclusive | minInclusive | 
maxExclusive | maxInclusive | totalDigits | fractionDigits | length | 
minLength | maxLength | enumeration | whiteSpace | pattern)*)?, 
((attribute | attributeGroup)*, anyAttribute?))
</restriction>
=============================================================

I'm wondering why the ? after "pattern)*)"  is here, since it does not 
change the language recognized by the regular expression.


Cheers,


Alain Frisch

Received on Friday, 22 April 2005 02:29:11 UTC