W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Meaning of fixed attribute on pattern facet where more than one pattern element is present and not all say fixed

From: <afo@zurich.ibm.com>
Date: Thu, 25 Jan 2001 15:44:00 +0100
To: www-xml-schema-comments@w3.org
Message-ID: <C12569DF.0050EFA0.00@d12mta01.de.ibm.com>


     In the XML representation of pattern facet [section 5.2.4 of Datatypes
Spec ],  "fixed" attribute is allowed on <pattern> element. However section
4.2.4  does not define a "fixed" property for  pattern facet. The same is
true for enumeration facet.

     So my question is :  is fixed attribute allowed in a pattern facet? If
the answer is yes, I would like to know the meaning of  fixed attribute on
pattern facet when more than one "pattern" element is used and  at least
one  says "fixed='true' " and another  says "fixed='false'".

     example :
     <simpleType name="char_between_a_and_d">
          <restriction base="string">
               <pattern value="a" fixed="true"/>
               <pattern value="b" fixed="true"/>
               <pattern value="c" fixed="false"/>
               <pattern value="d" fixed="false"/>

     Does it mean that subtypes of char_between_a_and_d must always specify
<pattern value="a" /> and <pattern value="b" >?

Thank you.

Achille Fokoue
Received on Thursday, 25 January 2001 09:45:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:54 UTC