DR 09-0305 - WML, Glossary Document: Unspecified behavior for repeated child elements

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Thu Nov 18 01:41:10 CET 2010


> But I'd agree that it needs to be changed. Shall I suggest to Ecma that we submit a DR?

Yes, please.

I don't think that <xsd:all minOccurs="0"> does the job.  It means all
or nothing, right?

How about

<xsd:complexType name="CT_DocPartPr">
<xsd:all>
  <xsd:element name="name" type="CT_DocPartName" minOccurs="0"/>
  <xsd:element name="style" type="CT_String" minOccurs="0"/>
  <xsd:element name="category" type="CT_DocPartCategory" minOccurs="0"/>
  <xsd:element name="types" type="CT_DocPartTypes" minOccurs="0"/>
  <xsd:element name="behaviors" type="CT_DocPartBehaviors" minOccurs="0"/>
  <xsd:element name="description" type="CT_String" minOccurs="0"/>
  <xsd:element name="guid" type="CT_Guid" minOccurs="0"/> 
</xsd:all>
</xsd:complexType>

?

Cheers,
Makoto


More information about the sc34wg4 mailing list