blob: dbff3f6edc0a7bb8ad8c4e65990564b932deeacc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<!-- Team provider info -->
<extension point="org.eclipse.team.core.fileTypes">
<fileTypes type="text" extension="xsl" />
<fileTypes type="text" extension="xslt" />
</extension>
<extension point="org.eclipse.core.runtime.contentTypes">
<content-type
file-extensions="xsl,xslt"
priority="normal"
name="%XSL.ContentType.Name"
id="xslsource"
base-type="org.eclipse.core.runtime.xml"
default-charset="UTF-8">
<describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
<parameter name="element" value="stylesheet"/>
</describer>
</content-type>
<content-type
base-type="org.eclipse.core.runtime.xml"
file-extensions="dita,ditamap"
id="org.eclipse.wst.xsl.core.content-type.ditasource"
name="%DITA_Content_Type_Extension_Element.name"
priority="high">
</content-type>
<content-type
base-type="org.eclipse.core.runtime.xml"
file-extensions="dbk"
id="org.eclipse.wst.xsl.core.content-type.docbooksource"
name="%Docbook_Content_Type_Extension_Element.name"
priority="high">
</content-type>
</extension>
<!-- The magic which detects XSLT 1.0 or 2.0 stylesheets and supplies the correct XSD -->
<extension
point="org.eclipse.wst.common.uriresolver.resolverExtensions">
<resolverExtension
class="org.eclipse.wst.xsl.core.resolver.ResolverExtension"
stage="prenormalization">
</resolverExtension>
</extension>
<extension
id="problem"
name="XSL Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker"/>
<super type="org.eclipse.core.resources.textmarker"/>
<persistent value="true"/>
<attribute name="columnNumber"/>
</extension>
<extension
point="org.eclipse.ant.core.antTasks">
<antTask
class="org.eclipse.wst.xsl.core.internal.ant.XIncludeTask"
headless="true"
library="lib/xinclude.jar"
name="xsl.xinclude">
</antTask>
</extension>
<!-- Extra Classpath -->
<extension
point="org.eclipse.ant.core.extraClasspathEntries">
<extraClasspathEntry
library="lib/xinclude.jar">
</extraClasspathEntry>
</extension>
<extension id="xsl" name="%XSL.Validator.Name" point="org.eclipse.wst.validation.validatorV2">
<validator
build="true"
class="org.eclipse.wst.xsl.core.internal.validation.eclipse.Validator"
sourceid="org.eclipse.wst.xsl.ui.internal.validation.DelegatingSourceValidatorForXSL"
manual="true"
version="2">
<include>
<rules>
<fileext caseSensitive="false" ext="xsl"/>
<projectNature id="org.eclipse.jdt.core.javanature"/>
<contentType id="org.eclipse.wst.xml.core.xslsource"/>
<contentType id="org.eclipse.wst.xsl.core.xslsource"/>
</rules>
</include>
</validator>
</extension>
<extension
point="org.eclipse.wst.validation.referencialFileValidator">
<referencialFileValidator
id="org.eclipse.wst.xsl.core.referencialFileValidator1">
<run
class="org.eclipse.wst.xsl.core.internal.validation.XSLReferencialFileValidator">
</run>
</referencialFileValidator>
</extension>
</plugin>