Skip to main content
diff options
authorFlorian Thienel2014-03-20 17:20:02 -0400
committerFlorian Thienel2014-03-23 05:59:06 -0400
commit0c935f16ff0519297184871087720a5333b6f344 (patch)
treefeef519ea37e7497f6173d8312e66281369d3eda /org.eclipse.vex.docbook
parentf863cf9c7f1167e4e687b43308aef5732f3a9997 (diff)
[423130] use an IContentDescriber to associate Vex with files
Vex should be associated only with files containing documents of registered document types. Therefor the VexContentDescriber reads the DTD and the root element to decide if a file contains such a document. Furthermore it is not essentially required for bundles that register a document type to also register a new content type. This is only necessary if a custom file extension (!= xml) should be used. Bug: Change-Id: I695e512c03f49f87f6221d3c3c6529ea04935477 Signed-off-by: Florian Thienel <>
Diffstat (limited to 'org.eclipse.vex.docbook')
2 files changed, 1 insertions, 11 deletions
diff --git a/org.eclipse.vex.docbook/ b/org.eclipse.vex.docbook/
index 6750db3c..f42b6031 100644
--- a/org.eclipse.vex.docbook/
+++ b/org.eclipse.vex.docbook/
@@ -15,5 +15,4 @@ doctype.docbook4_5=DocBook v4.5
doctype.docbook5_0_DTD=DocBook v5.0 (DTD)
doctype.docbook5_0_XSD2=DocBook v5.0 (XML Schema)
-style.docbook-plain=DocBook Plain XML Document
+style.docbook-plain=DocBook Plain
diff --git a/org.eclipse.vex.docbook/plugin.xml b/org.eclipse.vex.docbook/plugin.xml
index 65a9911e..4d7fecb7 100644
--- a/org.eclipse.vex.docbook/plugin.xml
+++ b/org.eclipse.vex.docbook/plugin.xml
@@ -2,15 +2,6 @@
<?eclipse version="3.2"?>
- <extension point="org.eclipse.core.contenttype.contentTypes">
- <content-type
- base-type="org.eclipse.vex.ui.XmlDocument"
- file-extensions="xml,docbook"
- id="org.eclipse.vex.ui.docbook"
- name=""
- priority="low">
- </content-type>
- </extension>

Back to the top