W3C

OASIS-DITA-reference

The document http://docs.oasis-open.org/dita/v1.0.1/schema/reference.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
advanced NoTargetNamespace .[not(@targetNamespace)]/ (.)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic NonIdentifierName .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name)
basic Include ./xs:include[@schemaLocation]/ (., @schemaLocation)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic ComplexTypeAttributeExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attribute]/ (., xs:extension/(., @base, xs:attribute/(., @name)))
advanced Redefine .//xs:redefine[@schemaLocation] / (., @schemaLocation, child::*, child::*/@name, child::*/@base)
advanced ComplexTypeExtension .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.))

<xs:schema NoTargetNamespace UnqualifiedLocalAttributes elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes >
<!-- Add the domains to the base topic XML Schema -->
<!-- ================ TOPIC DOMAINS ===================== -->
<xs:include Include schemaLocation="programmingDomain.xsd" Include />
<xs:include Include schemaLocation="softwareDomain.xsd" Include />
<xs:include Include schemaLocation="highlightDomain.xsd" Include />
<xs:include Include schemaLocation="uiDomain.xsd" Include />
<xs:include Include schemaLocation="utilitiesDomain.xsd" Include />
<!-- <xs:include schemaLocation="topicDomainsMod.xsd"/> -->
<xs:redefine Redefine schemaLocation="topicGrp.xsd" Redefine >
<xs:group Redefine name="keyword" IdentifierName Redefine >
<xs:choice>
<xs:group ref="keyword"/>
<xs:group ref="pr-d-keyword"/>
<xs:group ref="ui-d-keyword"/>
<xs:group ref="sw-d-keyword"/>
</xs:choice>
</xs:group>
<xs:group Redefine name="ph" IdentifierName Redefine >
<xs:choice>
<xs:group ref="ph"/>
<xs:group ref="pr-d-ph"/>
<xs:group ref="ui-d-ph"/>
<xs:group ref="hi-d-ph"/>
<xs:group ref="sw-d-ph"/>
</xs:choice>
</xs:group>
<xs:group Redefine name="pre" IdentifierName Redefine >
<xs:choice>
<xs:group ref="pre"/>
<xs:group ref="pr-d-pre"/>
<xs:group ref="ui-d-pre"/>
<xs:group ref="sw-d-pre"/>
</xs:choice>
</xs:group>
<xs:group Redefine name="dl" IdentifierName Redefine >
<xs:choice>
<xs:group ref="dl"/>
<xs:group ref="pr-d-dl"/>
</xs:choice>
</xs:group>
<xs:group Redefine name="fig" IdentifierName Redefine >
<xs:choice>
<xs:group ref="fig"/>
<xs:group ref="pr-d-fig"/>
<xs:group ref="ut-d-fig"/>
</xs:choice>
</xs:group>
</xs:redefine>
<!-- ================ INFO TYPES ===================== -->
<xs:include Include schemaLocation="referenceGrp.xsd" Include />
<xs:redefine Redefine schemaLocation="topicMod.xsd" Redefine >
<xs:complexType Redefine name="topic.class" NonIdentifierName Redefine >
<xs:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xs:extension ComplexTypeAttributeExtension ComplexTypeExtension base="topic.class" ComplexTypeAttributeExtension ComplexTypeExtension >
<xs:attribute ComplexTypeAttributeExtension name="domains" IdentifierName ComplexTypeAttributeExtension type="xs:string" StringAttribute default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d)" AttributeDefault />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:redefine Redefine schemaLocation="referenceMod.xsd" Redefine >
<xs:complexType Redefine name="reference.class" NonIdentifierName Redefine >
<xs:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xs:extension ComplexTypeAttributeExtension ComplexTypeExtension base="reference.class" ComplexTypeAttributeExtension ComplexTypeExtension >
<xs:attribute ComplexTypeAttributeExtension name="domains" IdentifierName ComplexTypeAttributeExtension type="xs:string" StringAttribute default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d)" AttributeDefault />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:group name="info-types" NonIdentifierName >
<xs:choice>
<xs:group ref="reference-info-types"/>
</xs:choice>
</xs:group>
</xs:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).