DR 09-0052: SML, Styles: family attribute range issue

Shawn Villaron shawnv at microsoft.com
Wed Jun 10 05:15:36 CEST 2009


Here is my proposed solution to address this defect report:


The attribute should be restricted in schema to the values from 0-5.

A new simple type should be added, to section 18.18:

<xsd:simpleType name="ST_FontFamilyVals">

       <xsd:restriction base="xsd:integer">

          <xsd:minInclusive value="0"/>

          <xsd:maxInclusive value="5"/>

       </xsd:restriction>

   </xsd:simpleType>



Attribute val in 18.8.18 family (Font Family) should be changed from type xs:int to type ST_FontFamilyVals.
Thanks

shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20090609/8dcdd51d/attachment.htm>


More information about the sc34wg4 mailing list