DR 08-0008 (was Re: Material for next week's WG4 Teleconference: Proposed Responses to DRs 08-0001 through 08-0008, and 09-0033)

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Wed Apr 29 11:56:11 CEST 2009


This DR is not editorial but technical.  Since the simple type (namely 
ST_TextBulletSizePercent) for the attribute "val" of  buSzPct elements 
does not allow the percent character.

We have to change schemas as below.  (We probably have to allow 
leading 0s by changing the pattern facet.)

In the transitional dml-main.rnc, replace

       a_ST_TextBulletSizePercent =
         xsd:int { minInclusive = "25000" maxInclusive = "400000" }

by

       a_ST_TextBulletSizePercent =
         a_ST_TextBulletSizePercentSring | a_ST_TextBulletSizePercentDecimal
       a_ST_TextBulletSizePercentSring =
         xsd:string { pattern = "((2[5-9])|([3-9][0-9])|([0-3][0-9][0-9])|400)%" }
       a_ST_TextBulletSizePercentDecimal =
         xsd:int { minInclusive = "25000" maxInclusive = "400000" }

In the strict dml-main.rnc, replace

       a_ST_TextBulletSizePercent =
         xsd:int { minInclusive = "25000" maxInclusive = "400000" }

by

       a_ST_TextBulletSizePercent = a_ST_TextBulletSizePercentSring
       a_ST_TextBulletSizePercentSring =
         xsd:string { pattern = "((2[5-9])|([3-9][0-9])|([0-3][0-9][0-9])|400)%" }


In the transitional dml-main.xsd, replace

       <xsd:simpleType name="ST_TextBulletSizePercent">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage</xsd:documentation>
               </xsd:annotation>
               <xsd:restriction base="ST_PercentageDecimal">
                       <xsd:minInclusive value="25000"/>
                       <xsd:maxInclusive value="400000"/>
               </xsd:restriction>
       </xsd:simpleType>

by

       <xsd:simpleType name="ST_TextBulletSizePercent">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage</xsd:documentation>
               </xsd:annotation>
               <xsd:union memberTypes="ST_TextBulletSizePercentDecimal ST_TextBulletSizePercentString"/>
       </xsd:simpleType>


       <xsd:simpleType name="ST_TextBulletSizePercentString">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage With Sign</xsd:documentation>
               </xsd:annotation>

               <xsd:restriction base="s:ST_Percentage">
                       <xsd:pattern
                               value="((2[5-9])|([3-9][0-9])|([0-3][0-9][0-9])|(400))%"/>
               </xsd:restriction>
       </xsd:simpleType>

       <xsd:simpleType name="ST_TextBulletSizePercentDecimal">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage as Decimal Number</xsd:documentation>
               </xsd:annotation>
               <xsd:restriction base="ST_PercentageDecimal">
                       <xsd:minInclusive value="25000"/>
                       <xsd:maxInclusive value="400000"/>
               </xsd:restriction>
       </xsd:simpleType>

In the strict dml-main.xsd, replace

       <xsd:simpleType name="ST_TextBulletSizePercent">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage</xsd:documentation>
               </xsd:annotation>
               <xsd:restriction base="s:ST_Percentage">
                       <xsd:minInclusive value="25000"/>
                       <xsd:maxInclusive value="400000"/>
               </xsd:restriction>
       </xsd:simpleType>

by

       <xsd:simpleType name="ST_TextBulletSizePercent">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage</xsd:documentation>
               </xsd:annotation>
               <xsd:union memberTypes="ST_TextBulletSizePercentString"/>
       </xsd:simpleType>


       <xsd:simpleType name="ST_TextBulletSizePercentString">
               <xsd:annotation>
                       <xsd:documentation>Bullet Size Percentage With Sign</xsd:documentation>
               </xsd:annotation>

               <xsd:restriction base="s:ST_Percentage">
                       <xsd:pattern
                               value="((2[5-9])|([3-9][0-9])|([0-3][0-9][0-9])|(400))%"/>
               </xsd:restriction>
       </xsd:simpleType>



Cheers,

Makoto <EB2M-MRT at asahi-net.or.jp>




More information about the sc34wg4 mailing list