[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Bugs in the DITA 1.1 Schema.
Hello,
A couple of small bugs have been found in the schemas. Thanks to the folks
at Syntext for finding the bugs.
Eric
1)
<xs:complexType name="organizationnamedetails.class">
<xs:choice>
<xs:group ref="organizationname" minOccurs="0" />
<xs:group ref="otherinfo" minOccurs="0"
maxOccurs="unbounded"/>
</xs:choice>
...
</xs:complexType>
should be
<xs:complexType name="organizationnamedetails.class">
<xs:sequence>
<xs:group ref="organizationname" minOccurs="0" />
<xs:group ref="otherinfo" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
...
</xs:complexType>
2) Index-base should have a mixed content model.
<xs:element name="index-base">
<xs:annotation>
<xs:documentation>The <index-base> element allows indexing
extensions to be added by specializing off this
element. It does not in itself have any meaning and should be
ignored in processing.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent mixed="true">
<xs:extension base="index-base.class">
<xs:attribute ref="class" default="- topic/index-base "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="index-base.class" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="words.cnt"/>
<xs:group ref="indexterm"/>
</xs:choice>
<xs:attribute name="keyref" type="xs:string"/>
<xs:attributeGroup ref="univ-atts"/>
<xs:attributeGroup ref="global-atts"/>
</xs:complexType>
Eric A. Sirois
Staff Software Developer
DB2 Universal Database - Information Development
DITA Migration and Tools Development
IBM Canada Ltd. - Toronto Software Lab
Email: esirois@ca.ibm.com
Blue Pages (Internal)
"Transparency and accessibility requirements dictate that public
information and government
transactions avoid depending on technologies that imply or impose a
specific product or
platform on businesses or citizens" - EU on XML-based office document
formats.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]