DR 09-0240: DML, text: CT_PTextFont's typeface attribute should be required

Shawn Villaron shawnv at microsoft.com
Fri Jun 5 18:41:32 CEST 2009


Here is my proposed response to this defect report:

DR 09-0240- DML, text: CT_PTextFont's typeface attribute should be required
Part 1, Schema Change Required

   <xsd:complexType name="CT_TextFont">

      <xsd:attribute name="typeface" type="ST_TextTypeface" use="required"/>

      <xsd:attribute name="panose" type="s:ST_Panose" use="optional"/>

      <xsd:attribute name="pitchFamily" type="xsd:byte" use="optional" default="0"/>

      <xsd:attribute name="charset" type="xsd:byte" use="optional" default="1"/>

   </xsd:complexType>

Part 1, Relax NG Change Required

a_CT_TextFont =

  attribute typeface { a_ST_TextTypeface }?,

  attribute panose { s_ST_Panose }?,



  ## default value: 0

  attribute pitchFamily { xsd:byte }?,



  ## default value: 1

  attribute charset { xsd:byte }?

Part 4, Schema Change Required

   <xsd:complexType name="CT_TextFont">

      <xsd:attribute name="typeface" type="ST_TextTypeface" use="required"/>

      <xsd:attribute name="panose" type="s:ST_Panose" use="optional"/>

      <xsd:attribute name="pitchFamily" type="xsd:byte" use="optional" default="0"/>

      <xsd:attribute name="charset" type="xsd:byte" use="optional" default="1"/>

   </xsd:complexType>

Part 4, Relax NG Change Required

a_CT_TextFont =

  attribute typeface { a_ST_TextTypeface }?,

  attribute panose { s_ST_Panose }?,



  ## default value: 0

  attribute pitchFamily { xsd:byte }?,



  ## default value: 1

  attribute charset { xsd:byte }?


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


More information about the sc34wg4 mailing list