Skip to content

Commit

Permalink
Merge pull request #3 from robander/master
Browse files Browse the repository at this point in the history
Add DITA 1.3 document types (full package)
  • Loading branch information
Robert D Anderson authored Dec 9, 2016
2 parents 4131dc3 + d0105c2 commit 0dfcddc
Show file tree
Hide file tree
Showing 653 changed files with 187,851 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div>
<h3>Further Description of this Repository</h3>

<p>The initial commit for this repository comprises the source for all parts of DITA Version 1.3: http://docs.oasis-open.org/dita/dita/v1.3/os/part0-overview/dita-v1.3-os-part0-overview.html</p>
<p>Early commits for this repository begin with the source for all parts of DITA Version 1.3: http://docs.oasis-open.org/dita/dita/v1.3/os/part0-overview/dita-v1.3-os-part0-overview.html</p>
</div>

<div>
Expand Down
6 changes: 6 additions & 0 deletions doctypes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# DITA 1.3 Grammar files

This directory contains the Relax NG, DTD, and XML Schema versions of the DITA Version 1.3 grammar files. These grammar files are based on DITA Version 1.3 Part 3: All-Inclusive Edition:
http://docs.oasis-open.org/dita/dita/v1.3/os/part3-all-inclusive/dita-v1.3-os-part3-all-inclusive.html

This version of the grammar files will be updated in DITA 1.3 Errata 01.
7 changes: 7 additions & 0 deletions doctypes/catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="dtd/catalog.xml"/>
<nextCatalog catalog="rng/catalog.xml"/>
<nextCatalog catalog="schema/catalog.xml"/>
<nextCatalog catalog="schema-url/catalog.xml"/>
</catalog>
93 changes: 93 additions & 0 deletions doctypes/dtd/base/catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!--DITA Base Map Shell-->

<public publicId="-//OASIS//DTD DITA 1.3 Base Map//EN" uri="dtd/basemap.dtd"/>
<public publicId="-//OASIS//DTD DITA Base Map//EN" uri="dtd/basemap.dtd"/>
<public publicId="-//OASIS//DTD DITA 1.3 Base Topic//EN"
uri="dtd/basetopic.dtd"/>
<public publicId="-//OASIS//DTD DITA Base Topic//EN" uri="dtd/basetopic.dtd"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Common Elements//EN"
uri="dtd/commonElements.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Common Elements//EN"
uri="dtd/commonElements.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Common Elements//EN"
uri="dtd/commonElements.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Common Elements//EN"
uri="dtd/commonElements.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Delayed Resolution Domain//EN"
uri="dtd/delayResolutionDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Delayed Resolution Domain//EN"
uri="dtd/delayResolutionDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Delayed Resolution Domain//EN"
uri="dtd/delayResolutionDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Delayed Resolution Domain//EN"
uri="dtd/delayResolutionDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Delivery Target Attribute Domain//EN"
uri="dtd/deliveryTargetAttDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Delivery Target Attribute Domain//EN"
uri="dtd/deliveryTargetAttDomain.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 DITAVAL Ref Domain//EN"
uri="dtd/ditavalrefDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA DITAVAL Ref Domain//EN"
uri="dtd/ditavalrefDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 DITAVAL Ref Domain//EN"
uri="dtd/ditavalrefDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA DITAVAL Ref Domain//EN"
uri="dtd/ditavalrefDomain.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Hazard Statement Domain//EN"
uri="dtd/hazardstatementDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Hazard Statement Domain//EN"
uri="dtd/hazardstatementDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Hazard Statement Domain//EN"
uri="dtd/hazardstatementDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Hazard Statement Domain//EN"
uri="dtd/hazardstatementDomain.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Highlight Domain//EN"
uri="dtd/highlightDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Highlight Domain//EN"
uri="dtd/highlightDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Highlight Domain//EN"
uri="dtd/highlightDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Highlight Domain//EN"
uri="dtd/highlightDomain.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Indexing Domain//EN"
uri="dtd/indexingDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Indexing Domain//EN"
uri="dtd/indexingDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Indexing Domain//EN"
uri="dtd/indexingDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Indexing Domain//EN"
uri="dtd/indexingDomain.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Map Group Domain//EN"
uri="dtd/mapGroup.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Map Group Domain//EN"
uri="dtd/mapGroup.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Map Group Domain//EN"
uri="dtd/mapGroup.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Map Group Domain//EN"
uri="dtd/mapGroup.ent"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Map//EN" uri="dtd/map.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Map//EN" uri="dtd/map.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Map//EN" uri="dtd/map.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Map//EN" uri="dtd/map.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Metadata//EN"
uri="dtd/metaDecl.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Metadata//EN" uri="dtd/metaDecl.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Exchange Table Model//EN"
uri="dtd/tblDecl.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Exchange Table Model//EN"
uri="dtd/tblDecl.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Topic//EN" uri="dtd/topic.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Topic//EN" uri="dtd/topic.ent"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Topic//EN" uri="dtd/topic.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Topic//EN" uri="dtd/topic.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA 1.3 Utilities Domain//EN"
uri="dtd/utilitiesDomain.mod"/>
<public publicId="-//OASIS//ELEMENTS DITA Utilities Domain//EN"
uri="dtd/utilitiesDomain.mod"/>
<public publicId="-//OASIS//ENTITIES DITA 1.3 Utilities Domain//EN"
uri="dtd/utilitiesDomain.ent"/>
<public publicId="-//OASIS//ENTITIES DITA Utilities Domain//EN"
uri="dtd/utilitiesDomain.ent"/>
</catalog>
210 changes: 210 additions & 0 deletions doctypes/dtd/base/dtd/basemap.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- Darwin Information Typing Architecture (DITA) Version 1.3 -->
<!-- OASIS Standard -->
<!-- 17 December 2015 -->
<!-- Copyright (c) OASIS Open 2015. All rights reserved. -->
<!-- Source: http://docs.oasis-open.org/dita/dita/v1.3/os/part0-overview/dita-v1.3-os-part0-overview.html -->
<!-- -->
<!-- ============================================================= -->
<!-- MODULE: DITA Base MAP (only base domains) -->
<!-- VERSION: 1.3 -->
<!-- DATE: March 2014 -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an -->
<!-- appropriate system identifier: -->
<!-- -->
<!-- PUBLIC "-//OASIS//DTD DITA Base Map//EN" -->
<!-- The public ID above refers to the latest version of this DTD. -->
<!-- To refer to this specific version, you may use this value: -->
<!-- -->
<!-- PUBLIC "-//OASIS//DTD DITA 1.3 Base Map//EN" -->
<!-- ============================================================= -->
<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
<!-- -->
<!-- PURPOSE: DTD to describe DITA maps -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- April 2010 -->
<!-- -->
<!-- (C) Copyright OASIS Open 2010, 2014 -->
<!-- All Rights Reserved. -->
<!-- -->
<!-- UPDATES: -->
<!-- 2010.09.20 RDA: Add topic-based domains -->
<!-- 2014.03.13 WEK: Updated for DITA 1.3, reimplemented as RNG -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- MAP ENTITY DECLARATIONS -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- DOMAIN CONSTRAINT INTEGRATION -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- DOMAIN ENTITY DECLARATIONS -->
<!-- ============================================================= -->

<!ENTITY % mapgroup-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Map Group Domain//EN"
"mapGroup.ent"
>%mapgroup-d-dec;

<!ENTITY % delay-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Delayed Resolution Domain//EN"
"delayResolutionDomain.ent"
>%delay-d-dec;

<!ENTITY % ditavalref-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 DITAVAL Ref Domain//EN"
"ditavalrefDomain.ent"
>%ditavalref-d-dec;

<!ENTITY % indexing-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Indexing Domain//EN"
"indexingDomain.ent"
>%indexing-d-dec;

<!ENTITY % hazard-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Hazard Statement Domain//EN"
"hazardstatementDomain.ent"
>%hazard-d-dec;

<!ENTITY % hi-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Highlight Domain//EN"
"highlightDomain.ent"
>%hi-d-dec;

<!ENTITY % ut-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Utilities Domain//EN"
"utilitiesDomain.ent"
>%ut-d-dec;

<!-- ============================================================= -->
<!-- DOMAIN ATTRIBUTES DECLARATIONS -->
<!-- ============================================================= -->

<!ENTITY % deliveryTargetAtt-d-dec
PUBLIC "-//OASIS//ENTITIES DITA 1.3 Delivery Target Attribute Domain//EN"
"deliveryTargetAttDomain.ent"
>%deliveryTargetAtt-d-dec;

<!-- ============================================================= -->
<!-- DOMAIN EXTENSIONS -->
<!-- ============================================================= -->
<!-- One for each extended base element, with
the name of the domain(s) in which the
extension was declared -->

<!ENTITY % topicref "topicref |
%mapgroup-d-topicref; |
%ditavalref-d-topicref;
">
<!ENTITY % keywords "keywords |
%delay-d-keywords;
">
<!ENTITY % index-base "index-base |
%indexing-d-index-base;
">
<!ENTITY % note "note |
%hazard-d-note;
">
<!ENTITY % ph "ph |
%hi-d-ph;
">
<!ENTITY % fig "fig |
%ut-d-fig;
">
<!ENTITY % data "data |
%ut-d-data;
">

<!-- ============================================================= -->
<!-- DOMAIN ATTRIBUTE EXTENSIONS -->
<!-- ============================================================= -->

<!ENTITY % props-attribute-extensions
"%deliveryTargetAtt-d-attribute;"
>
<!ENTITY % base-attribute-extensions
""
>

<!-- ============================================================= -->
<!-- DOMAINS ATTRIBUTE OVERRIDE -->
<!-- ============================================================= -->

<!ENTITY included-domains
"&mapgroup-d-att;
&delay-d-att;
&deliveryTargetAtt-d-att;
&ditavalref-d-att;
&indexing-d-att;
&hazard-d-att;
&hi-d-att;
&ut-d-att;
"
>

<!-- ============================================================= -->
<!-- CONTENT CONSTRAINT INTEGRATION -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- MAP ELEMENT INTEGRATION -->
<!-- ============================================================= -->

<!ENTITY % map-type
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Map//EN"
"map.mod"
>%map-type;

<!-- ============================================================= -->
<!-- DOMAIN ELEMENT INTEGRATION -->
<!-- ============================================================= -->

<!ENTITY % mapgroup-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Map Group Domain//EN"
"mapGroup.mod"
>%mapgroup-d-def;

<!ENTITY % delay-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Delayed Resolution Domain//EN"
"delayResolutionDomain.mod"
>%delay-d-def;

<!ENTITY % ditavalref-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 DITAVAL Ref Domain//EN"
"ditavalrefDomain.mod"
>%ditavalref-d-def;

<!ENTITY % indexing-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Indexing Domain//EN"
"indexingDomain.mod"
>%indexing-d-def;

<!ENTITY % hazard-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Hazard Statement Domain//EN"
"hazardstatementDomain.mod"
>%hazard-d-def;

<!ENTITY % hi-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Highlight Domain//EN"
"highlightDomain.mod"
>%hi-d-def;

<!ENTITY % ut-d-def
PUBLIC "-//OASIS//ELEMENTS DITA 1.3 Utilities Domain//EN"
"utilitiesDomain.mod"
>%ut-d-def;

<!-- ================= End of DITA Base Map Shell ================= -->
Loading

0 comments on commit 0dfcddc

Please sign in to comment.