blob: 8c60c8e7d874f3599a6a18252f252317b12db68e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.core.runtime.contentTypes">
<content-type
priority="high"
name="%XSD_Content_Type"
id="xsdsource"
base-type="org.eclipse.core.runtime.xml"
default-charset="UTF-8"
file-extensions="xsd" />
</extension>
<extension point="org.eclipse.wst.xml.core.documentFactories">
<factory
type="xsd"
class="org.eclipse.wst.xsd.contentmodel.internal.CMDocumentFactoryXSD">
</factory>
</extension>
<!-- ====================================================== -->
<!-- Register the XSD validator with the validation -->
<!-- framework. -->
<!-- ====================================================== -->
<extension
id="xsdValidator"
name="%_UI_XML_SCHEMA_VALIDATOR"
point="org.eclipse.wst.validation.validator">
<validator>
<filter
objectClass="org.eclipse.core.resources.IFile"
caseSensitive="false"
nameFilter="*.xsd">
</filter>
<helper
class="org.eclipse.wst.xml.core.internal.validation.core.Helper">
</helper>
<run
async="true"
class="org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator"
enabled="true"
fullBuild="true"
incremental="true">
</run>
<!-- <markerId markerIdValue="org.eclipse.xsd.diagnostic"/>-->
</validator>
</extension>
<extension
point="org.eclipse.wst.validation.validatorDelegates">
<delegate
class="org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator"
name="%_UI_XERCES_VALIDATOR_DELEGATE"
target="org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator"/>
</extension>
<!-- initialize xml core preferences -->
<extension point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.wst.xsd.core.internal.preferences.XSDCorePreferenceInitializer" />
</extension>
<!-- ====================================================== -->
<!-- Add schemas to XML Catalog -->
<!-- ====================================================== -->
<extension
point="org.eclipse.wst.xml.core.catalogContributions">
<catalogContribution id="default">
<uri
name="http://www.w3.org/2001/XMLSchema"
uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd" />
<system
systemId="http://www.w3.org/2001/xml.xsd"
uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd"/>
</catalogContribution>
</extension>
</plugin>