code-srv-test/dita-ot-3.6/plugins/org.oasis-open.dita.v1_3/schema-url/technicalContent/xsd/ditabase.xsd
2021-03-23 22:38:58 +00:00

254 lines
9.7 KiB
XML
Executable file

<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- Darwin Information Typing Architecture (DITA) Version 1.3 Plus Errata 02 -->
<!-- OASIS Standard -->
<!-- 16 January 2018 -->
<!-- Copyright (c) OASIS Open 2018. All rights reserved. -->
<!-- Source: http://docs.oasis-open.org/dita/dita/v1.3/errata02/csprd01/complete/part0-overview/dita-v1.3-errata02-csprd01-part0-overview-complete.html -->
<!-- -->
<!-- ============================================================= -->
<!-- MODULE: DITA BASE XSD -->
<!-- VERSION: 1.3 -->
<!-- DATE: March 2014 -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
<!-- -->
<!-- PURPOSE: Based W3C XML Schema holds all the information -->
<!-- types -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- March 2001 -->
<!-- -->
<!-- UPDATES -->
<!-- 2009.03.20 EAS: Added xml:lang and DITAArchVersion attribute -->
<!-- to dita element -->
<!-- ============================================================= -->
<xs:schema xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!-- ================ TOPIC DOMAINS ===================== -->
<xs:include schemaLocation="./abbreviateDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/deliveryTargetAttDomain.xsd"/>
<xs:include schemaLocation="./equationDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/hazardstatementDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/highlightDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/indexingDomain.xsd"/>
<xs:include schemaLocation="./markupDomain.xsd"/>
<xs:include schemaLocation="./mathmlDomain.xsd"/>
<xs:include schemaLocation="./programmingDomain.xsd"/>
<xs:include schemaLocation="./releaseManagementDomain.xsd"/>
<xs:include schemaLocation="./softwareDomain.xsd"/>
<xs:include schemaLocation="./svgDomain.xsd"/>
<xs:include schemaLocation="./uiDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/utilitiesDomain.xsd"/>
<xs:include schemaLocation="./xmlDomain.xsd"/>
<!-- ================ GROUP DEFINITIONS ===================== -->
<xs:include schemaLocation="../../base/xsd/tblDeclGrp.xsd"/>
<xs:include schemaLocation="./taskGrp.xsd"/>
<xs:include schemaLocation="../../base/xsd/topicGrp.xsd"/>
<xs:include schemaLocation="./conceptGrp.xsd"/>
<xs:include schemaLocation="./glossentryGrp.xsd"/>
<xs:include schemaLocation="./glossgroupGrp.xsd"/>
<xs:include schemaLocation="./referenceGrp.xsd"/>
<xs:include schemaLocation="./troubleshootingGrp.xsd"/>
<!-- ================= MODULE INCLUDE DEFINITION ================== -->
<xs:include schemaLocation="../../base/xsd/commonElementMod.xsd"/>
<!-- ======== Table elements ======== -->
<xs:include schemaLocation="../../base/xsd/tblDeclMod.xsd"/>
<!-- ======= MetaData elements, plus keyword and indexterm ======= -->
<xs:include schemaLocation="../../base/xsd/metaDeclMod.xsd"/>
<xs:redefine schemaLocation="../../base/xsd/commonElementGrp.xsd">
<xs:group name="data">
<xs:choice>
<xs:group ref="data"/>
<xs:group ref="ut-d-data"/>
</xs:choice>
</xs:group>
<xs:group name="foreign">
<xs:choice>
<xs:group ref="foreign"/>
<xs:group ref="mathml-d-foreign"/>
<xs:group ref="svg-d-foreign"/>
</xs:choice>
</xs:group>
<xs:group name="note">
<xs:choice>
<xs:group ref="note"/>
<xs:group ref="hazard-d-note"/>
</xs:choice>
</xs:group>
<xs:group name="dl">
<xs:choice>
<xs:group ref="dl"/>
<xs:group ref="pr-d-dl"/>
</xs:choice>
</xs:group>
<xs:group name="fig">
<xs:choice>
<xs:group ref="fig"/>
<xs:group ref="equation-d-fig"/>
<xs:group ref="pr-d-fig"/>
<xs:group ref="ut-d-fig"/>
</xs:choice>
</xs:group>
<xs:group name="pre">
<xs:choice>
<xs:group ref="pre"/>
<xs:group ref="pr-d-pre"/>
<xs:group ref="sw-d-pre"/>
<xs:group ref="ui-d-pre"/>
</xs:choice>
</xs:group>
<xs:group name="div">
<xs:choice>
<xs:group ref="div"/>
<xs:group ref="equation-d-div"/>
</xs:choice>
</xs:group>
<xs:group name="keyword">
<xs:choice>
<xs:group ref="keyword"/>
<xs:group ref="markup-d-keyword"/>
<xs:group ref="pr-d-keyword"/>
<xs:group ref="sw-d-keyword"/>
<xs:group ref="ui-d-keyword"/>
<xs:group ref="xml-d-keyword"/>
</xs:choice>
</xs:group>
<xs:group name="term">
<xs:choice>
<xs:group ref="term"/>
<xs:group ref="abbrev-d-term"/>
</xs:choice>
</xs:group>
<xs:group name="ph">
<xs:choice>
<xs:group ref="ph"/>
<xs:group ref="equation-d-ph"/>
<xs:group ref="hi-d-ph"/>
<xs:group ref="pr-d-ph"/>
<xs:group ref="sw-d-ph"/>
<xs:group ref="ui-d-ph"/>
</xs:choice>
</xs:group>
<xs:group name="index-base">
<xs:choice>
<xs:group ref="index-base"/>
<xs:group ref="indexing-d-index-base"/>
</xs:choice>
</xs:group>
<xs:attributeGroup name="props-attribute-extensions">
<xs:attributeGroup ref="props-attribute-extensions"/>
<xs:attributeGroup ref="deliveryTargetAtt-d-attribute"/>
</xs:attributeGroup>
</xs:redefine>
<xs:redefine schemaLocation="../../base/xsd/metaDeclGrp.xsd">
<xs:group name="metadata">
<xs:choice>
<xs:group ref="metadata"/>
<xs:group ref="relmgmt-d-metadata"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="../../base/xsd/topicMod.xsd" >
<xs:group name="topic-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="conceptMod.xsd" >
<xs:group name="concept-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="strictTaskbodyConstraintMod.xsd">
<xs:group name="task-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="referenceMod.xsd" >
<xs:group name="reference-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="glossentryMod.xsd" >
<xs:group name="glossentry-info-types">
<xs:choice>
<xs:group ref="no-topic-nesting"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="glossgroupMod.xsd">
<xs:group name="glossgroup-info-types">
<xs:choice>
<xs:group ref="glossgroup"/>
<xs:group ref="glossentry"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="troubleshootingMod.xsd" >
<xs:group name="troubleshooting-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<!-- ================ INFO-TYPES DEFINITION ===================== -->
<xs:include schemaLocation="ditabaseMod.xsd"/>
<xs:group name="ditabase-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
<xs:group name="info-types">
<xs:choice>
<xs:element ref="task"/>
<xs:element ref="topic"/>
<xs:element ref="concept"/>
<xs:element ref="glossentry"/>
<xs:element ref="glossgroup"/>
<xs:element ref="reference"/>
<xs:element ref="troubleshooting"/>
</xs:choice>
</xs:group>
<xs:attributeGroup name="domains-att">
<xs:attribute name="domains"
type="xs:string"
default="(topic abbrev-d) (topic concept glossentry) (topic concept glossgroup) (topic concept) (topic equation-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic markup-d xml-d) (topic markup-d) (topic mathml-d) (topic pr-d) (topic reference) (topic relmgmt-d) (topic svg-d) (topic sw-d) (topic task strictTaskbody-c) (topic task) (topic troubleshooting++task) (topic ui-d) (topic ut-d) a(props deliveryTarget)"/>
</xs:attributeGroup>
</xs:schema>