Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hiesserich2013-10-10 12:41:03 -0400
committerCarsten Hiesserich2013-10-20 15:29:16 -0400
commit27d48271a59dcb1cc99c59efc1e356f68161f1e2 (patch)
tree70c49cc0780be4593ed5cfbbfbe975a6c53efa41 /org.eclipse.vex.docbook
parentc3d21578f56f2d83f1961b10e534f88e46c6e14b (diff)
downloadorg.eclipse.mylyn.docs.vex-27d48271a59dcb1cc99c59efc1e356f68161f1e2.tar.gz
org.eclipse.mylyn.docs.vex-27d48271a59dcb1cc99c59efc1e356f68161f1e2.tar.xz
org.eclipse.mylyn.docs.vex-27d48271a59dcb1cc99c59efc1e356f68161f1e2.zip
cleanup document type handling and doctypes in docbook plugin
Change-Id: Ieae7693a39f1837cba4b822e316c08f6b3dd3864 Signed-off-by: Carsten Hiesserich <carsten.hie@gmail.com>
Diffstat (limited to 'org.eclipse.vex.docbook')
-rw-r--r--org.eclipse.vex.docbook/plugin.properties4
-rw-r--r--org.eclipse.vex.docbook/plugin.xml138
2 files changed, 38 insertions, 104 deletions
diff --git a/org.eclipse.vex.docbook/plugin.properties b/org.eclipse.vex.docbook/plugin.properties
index 050fe5ad..6750db3c 100644
--- a/org.eclipse.vex.docbook/plugin.properties
+++ b/org.eclipse.vex.docbook/plugin.properties
@@ -13,9 +13,7 @@ providerName= Eclipse.org
doctype.docbook4_5=DocBook v4.5
doctype.docbook5_0_DTD=DocBook v5.0 (DTD)
-doctype.docbook5_0_XSD1=DocBook v5.0 (http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd)
-doctype.docbook5_0_XSD2=DocBook v5.0 (http://docbook.org/xml/5.0/xsd/docbook.xsd)
-doctype.docbook5_0_XSD3=DocBook v5.0 (http://docbook.org/ns/docbook)
+doctype.docbook5_0_XSD2=DocBook v5.0 (XML Schema)
style.docbook-plain=DocBook Plain
contentType.name=DocBook XML Document
diff --git a/org.eclipse.vex.docbook/plugin.xml b/org.eclipse.vex.docbook/plugin.xml
index 1079b51e..7dae25e1 100644
--- a/org.eclipse.vex.docbook/plugin.xml
+++ b/org.eclipse.vex.docbook/plugin.xml
@@ -16,6 +16,14 @@
uri="4.5/docbookx.dtd"
webURL="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
</public>
+ <system
+ systemId="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
+ uri="4.5/docbookx.dtd">
+ </system>
+ <system
+ systemId="http://docbook.org/xml/4.5/docbookx.dtd"
+ uri="4.5/docbookx.dtd">
+ </system>
<uri
name="urn:org:eclipse:vex:styles:docbook:docbook-plain.css"
uri="styles/docbook-plain.css">
@@ -33,33 +41,41 @@
webURL="http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd">
</public>
<uri
- name="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd"
+ name="http://docbook.org/ns/docbook"
uri="5.0/xsd/docbook.xsd">
</uri>
- <uri
- name="http://docbook.org/xml/5.0/xsd/docbook.xsd"
+ <system
+ systemId="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd"
uri="5.0/xsd/docbook.xsd">
- </uri>
- <uri
- name="http://docbook.org/ns/docbook"
+ </system>
+ <system
+ systemId="http://docbook.org/xml/5.0/xsd/docbook.xsd"
uri="5.0/xsd/docbook.xsd">
- </uri>
+ </system>
<uri
- name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd"
+ name="http://www.w3.org/1999/xlink"
uri="5.0/xsd/xlink.xsd">
</uri>
- <uri
- name="http://docbook.org/xml/5.0/xsd/xlink.xsd"
+ <system
+ systemId="http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd"
uri="5.0/xsd/xlink.xsd">
- </uri>
+ </system>
+ <system
+ systemId="http://docbook.org/xml/5.0/xsd/xlink.xsd"
+ uri="5.0/xsd/xlink.xsd">
+ </system>
<uri
- name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd"
+ name="http://www.w3.org/XML/1998/namespace"
uri="5.0/xsd/xml.xsd">
</uri>
- <uri
- name="http://docbook.org/xml/5.0/xsd/xml.xsd"
+ <system
+ systemId="http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd"
uri="5.0/xsd/xml.xsd">
- </uri>
+ </system>
+ <system
+ systemId="http://docbook.org/xml/5.0/xsd/xml.xsd"
+ uri="5.0/xsd/xml.xsd">
+ </system>
</catalogContribution>
</extension>
@@ -145,54 +161,13 @@
</doctype>
</extension>
- <extension
- id="docbook5_0_XSD1"
- name="%doctype.docbook5_0_XSD1"
- point="org.eclipse.vex.ui.doctypes">
- <doctype
- publicId="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd"
- systemId="5.0/xsd/docbook.xsd">
-
- <rootElement
- name="article">
- </rootElement>
- <rootElement
- name="appendix">
- </rootElement>
- <rootElement
- name="book">
- </rootElement>
- <rootElement
- name="chapter">
- </rootElement>
- <rootElement
- name="sect1">
- </rootElement>
- <rootElement
- name="sect2">
- </rootElement>
- <rootElement
- name="sect3">
- </rootElement>
- <rootElement
- name="sect4">
- </rootElement>
- <rootElement
- name="sect5">
- </rootElement>
- <rootElement
- name="section">
- </rootElement>
- </doctype>
- </extension>
<extension
id="docbook5_0_XSD2"
name="%doctype.docbook5_0_XSD2"
point="org.eclipse.vex.ui.doctypes">
- <doctype
- publicId="http://docbook.org/xml/5.0/xsd/docbook.xsd"
- systemId="5.0/xsd/docbook.xsd">
+ <schema
+ namespaceName="http://docbook.org/ns/docbook">
<rootElement
name="article">
@@ -224,49 +199,9 @@
<rootElement
name="section">
</rootElement>
- </doctype>
+ </schema>
</extension>
- <extension
- id="docbook5_0_XSD2"
- name="%doctype.docbook5_0_XSD3"
- point="org.eclipse.vex.ui.doctypes">
- <doctype
- publicId="http://docbook.org/ns/docbook"
- systemId="5.0/xsd/docbook.xsd">
-
- <rootElement
- name="article">
- </rootElement>
- <rootElement
- name="appendix">
- </rootElement>
- <rootElement
- name="book">
- </rootElement>
- <rootElement
- name="chapter">
- </rootElement>
- <rootElement
- name="sect1">
- </rootElement>
- <rootElement
- name="sect2">
- </rootElement>
- <rootElement
- name="sect3">
- </rootElement>
- <rootElement
- name="sect4">
- </rootElement>
- <rootElement
- name="sect5">
- </rootElement>
- <rootElement
- name="section">
- </rootElement>
- </doctype>
- </extension>
<extension
id="docbook-plain"
@@ -274,11 +209,12 @@
point="org.eclipse.vex.ui.styles">
<style
css="styles/docbook-plain.css">
+ <doctypeRef
+ publicId="docbook5_0_DTD">
+ </doctypeRef>
<doctypeRef publicId="-//OASIS//DTD Simplified DocBook XML V1.1//EN"/>
<doctypeRef publicId="-//OASIS//DTD DocBook XML V4.5//EN"/>
<doctypeRef publicId="-//OASIS//DTD DocBook XML 5.0//EN"/>
- <doctypeRef publicId="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd"/>
- <doctypeRef publicId="http://docbook.org/xml/5.0/xsd/docbook.xsd"/>
<doctypeRef publicId="http://docbook.org/ns/docbook"/>
</style>
</extension>

Back to the top