Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2013-01-08 05:37:04 -0500
committerFlorian Thienel2013-01-08 05:37:04 -0500
commitbf09278a9b84b1d129f4fc864c393ffe2d726daf (patch)
tree903cfa2d60ff826847b132be900aadf7ae28f53c
parentf57b809c624ef5121f781825cb5c4a445eb1286e (diff)
downloadorg.eclipse.mylyn.docs.vex-bf09278a9b84b1d129f4fc864c393ffe2d726daf.tar.gz
org.eclipse.mylyn.docs.vex-bf09278a9b84b1d129f4fc864c393ffe2d726daf.tar.xz
org.eclipse.mylyn.docs.vex-bf09278a9b84b1d129f4fc864c393ffe2d726daf.zip
add new schema URI for Docbook v5 (http://docbook.org/ns/docbook)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257806 Signed-off-by: Florian Thienel <florian@thienel.org>
-rw-r--r--org.eclipse.vex.docbook/plugin.properties1
-rw-r--r--org.eclipse.vex.docbook/plugin.xml47
2 files changed, 48 insertions, 0 deletions
diff --git a/org.eclipse.vex.docbook/plugin.properties b/org.eclipse.vex.docbook/plugin.properties
index b8a313bc..050fe5ad 100644
--- a/org.eclipse.vex.docbook/plugin.properties
+++ b/org.eclipse.vex.docbook/plugin.properties
@@ -15,6 +15,7 @@ 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)
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 fe573c3c..483aa509 100644
--- a/org.eclipse.vex.docbook/plugin.xml
+++ b/org.eclipse.vex.docbook/plugin.xml
@@ -41,6 +41,10 @@
uri="5.0/xsd/docbook.xsd">
</uri>
<uri
+ name="http://docbook.org/ns/docbook"
+ uri="5.0/xsd/docbook.xsd">
+ </uri>
+ <uri
name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd"
uri="5.0/xsd/xlink.xsd">
</uri>
@@ -228,6 +232,48 @@
</extension>
<extension
+ id="docbook5_0_XSD2"
+ name="%doctype.docbook5_0_XSD3"
+ point="org.eclipse.vex.ui.doctypes">
+ <doctype
+ outlineProvider="org.eclipse.vex.docbook.DocBookOutlineProvider"
+ 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"
name="%style.docbook-plain"
point="org.eclipse.vex.ui.styles">
@@ -238,6 +284,7 @@
<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