Associate Custom Content Type with XML Validator. [message #898993] |
Mon, 30 July 2012 04:47 |
rohit chawla Messages: 19 Registered: June 2012 |
Junior Member |
|
|
Just want to know what should come in place of question marks ?? in the following plugin.xml, in order to validate my custom content-type xml2 (xml types) with normal xml validator???
Write now, I am able to open xml2 in XML editor, but not able to validate.
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.wst.sse.ui.sourcevalidation">
<validator
scope="total"
class="???"
id="???">
<contentTypeIdentifier id="com.xyz.ide.core.contentType.dummy">
<partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
</partitionType>
</contentTypeIdentifier>
</validator>
</extension>
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
id="com.xyz.ide.core.contentType.dummy"
base-type="org.eclipse.core.runtime.xml"
file-extensions="xml2"
name="xml2"
priority="normal"
default-charset="UTF-8"/>
</extension>
</plugin>
Thanks
[Updated on: Mon, 30 July 2012 04:50] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03377 seconds