DR 09-0223 - WML: Structured Document Tags

Shawn Villaron shawnv at microsoft.com
Thu Mar 18 14:41:10 CET 2010


This is in regards to the GB defect report.  Our proposed response is as follows.
DR 09-0223 - WML: Structured Document Tags
No change is needed.

The statement made in the defect report is incorrect. The schema specifies that an sdtPr element can only have a maximum of one type specified. Below is the definition of the complex type CT_SdtPr. The highlighted portion of the schema specifies that a structured document tag can only have a maximum of one type specified.

<xsd:complexType name="CT_SdtPr">
<xsd:choice maxOccurs="unbounded">
<xsd:element name="rPr" type="CT_RPr" minOccurs="0"/>
<xsd:element name="alias" type="CT_String" minOccurs="0"/>
<xsd:element name="label" type="CT_DecimalNumber" minOccurs="0"/>
<xsd:element name="tabIndex" type="CT_UnsignedDecimalNumber" minOccurs="0"/>
<xsd:element name="lock" type="CT_Lock" minOccurs="0"/>
<xsd:element name="placeholder" type="CT_Placeholder" minOccurs="0"/>
<xsd:element name="showingPlcHdr" type="CT_OnOff" minOccurs="0"/>
<xsd:element name="dataBinding" type="CT_DataBinding" minOccurs="0"/>
<xsd:element name="temporary" type="CT_OnOff" minOccurs="0"/>
<xsd:element name="id" type="CT_DecimalNumber" minOccurs="0"/>
<xsd:element name="tag" type="CT_String" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element name="equation" type="CT_Empty"/>
<xsd:element name="comboBox" type="CT_SdtComboBox"/>
<xsd:element name="date" type="CT_SdtDate"/>
<xsd:element name="docPartObj" type="CT_SdtDocPart"/>
<xsd:element name="docPartList" type="CT_SdtDocPart"/>
<xsd:element name="dropDownList" type="CT_SdtDropDownList"/>
<xsd:element name="picture" type="CT_Empty"/>
<xsd:element name="richText" type="CT_Empty"/>
<xsd:element name="text" type="CT_SdtText"/>
<xsd:element name="citation" type="CT_Empty"/>
<xsd:element name="group" type="CT_Empty"/>
<xsd:element name="bibliography" type="CT_Empty"/>
</xsd:choice>
</xsd:choice>
</xsd: complexType >


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


More information about the sc34wg4 mailing list