summaryrefslogtreecommitdiff
path: root/stoc/source/module-description.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/module-description.dtd')
-rw-r--r--stoc/source/module-description.dtd54
1 files changed, 54 insertions, 0 deletions
diff --git a/stoc/source/module-description.dtd b/stoc/source/module-description.dtd
new file mode 100644
index 000000000000..279f721de1da
--- /dev/null
+++ b/stoc/source/module-description.dtd
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+
+ Copyright 2000, 2010 Oracle and/or its affiliates.
+
+ OpenOffice.org - a multi-platform office productivity suite
+
+ This file is part of OpenOffice.org.
+
+ OpenOffice.org is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3
+ only, as published by the Free Software Foundation.
+
+ OpenOffice.org is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License version 3 for more details
+ (a copy is included in the LICENSE file that accompanied this code).
+
+ You should have received a copy of the GNU Lesser General Public License
+ version 3 along with OpenOffice.org. If not, see
+ <http://www.openoffice.org/license.html>
+ for a copy of the LGPLv3 License.
+
+-->
+
+<!ENTITY % component-description-optional "reference-docu|service-dependency|type">
+<!ENTITY % module-description-optional "project-build-dependency|runtime-module-dependency|(%component-description-optional;)">
+<!ELEMENT module-description (module-name, component-description*,(%module-description-optional;)* )>
+<!ELEMENT component-description (author,name,description,loader-name,language,status, supported-service+, (%component-description-optional;)* )>
+
+<!ELEMENT author (#PCDATA)>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT description (#PCDATA)>
+<!ELEMENT reference-docu EMPTY >
+<!ATTLIST reference-docu
+ xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink/Namespace"
+ xlink:type (simple) #FIXED "simple"
+ xlink:href CDATA #REQUIRED
+ xlink:role NMTOKEN #IMPLIED
+ xlink:title CDATA #IMPLIED >
+
+<!ELEMENT module-name (#PCDATA)>
+<!ELEMENT loader-name (#PCDATA)>
+<!ELEMENT supported-service (#PCDATA)>
+<!ELEMENT service-dependency (#PCDATA)>
+<!ELEMENT project-build-dependency (#PCDATA)>
+<!ELEMENT runtime-module-dependency (#PCDATA)>
+<!ELEMENT language (#PCDATA)>
+<!ELEMENT status EMPTY >
+<!ATTLIST status value (under_construction | alpha | beta | final) #REQUIRED>
+<!ELEMENT type (#PCDATA)>