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

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Wed Nov 17 03:51:23 CET 2010


While I was creating a RELAX NG schema for this DR, I find that the
propsoed XSD schema fragment mandates every of name, style, category,
types, behaviors, description, and guid.  But glossay documents created
by MS Office 2007 do not have all of them.    Should we add minOccurs="0" 
for each of the xsd:element elements?

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

Cheers,
Makoto


More information about the sc34wg4 mailing list