File: plugin.xml

package info (click to toggle)
eclipse-wtp 3.35-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,860 kB
  • sloc: java: 215,049; xml: 3,946; sh: 70; makefile: 9
file content (98 lines) | stat: -rw-r--r-- 3,175 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

	<extension point="org.eclipse.core.contenttype.contentTypes">
		<content-type
			priority="high"
			name="%XSD_Content_Type"
			id="org.eclipse.wst.xsd.core.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>
		</validator>
	</extension>
	-->
	
   <extension id="xsd" name="%_UI_XML_SCHEMA_VALIDATOR" point="org.eclipse.wst.validation.validatorV2">
      <validator
            build="true"
            class="org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator"
            manual="true"
            sourceid="org.eclipse.wst.xsd.ui.internal.validation.DelegatingSourceValidatorForXSD"
            version="2"
            markerId="org.eclipse.xsd.diagnostic">
         <include>
            <rules>
               <fileext caseSensitive="false" ext="xsd"></fileext>
            </rules>
         </include>
      </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>