blob: 9d6fc2c4ee35b9ce55ba54c66b6682e5643f3037 [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williamsad0e4cc2005-06-04 01:49:19 +00004
5 <extension point="org.eclipse.wst.sse.core.modelHandler">
6 <modelHandler
7 default="no"
8 class="org.eclipse.wst.html.core.internal.modelhandler.ModelHandlerForHTML"
9 associatedContentTypeId="org.eclipse.wst.html.core.htmlsource"
10 id="org.eclipse.wst.html.core.internal.modelhandler">
11 </modelHandler>
12 </extension>
13
14 <extension point="org.eclipse.wst.sse.core.embeddedTypeHandler">
15 <embeddedTypeHandler
16 class="org.eclipse.wst.html.core.internal.modelhandler.EmbeddedHTML">
17 </embeddedTypeHandler>
18 </extension>
19
20 <extension point="org.eclipse.wst.sse.core.taskscanner">
21 <scanner
22 id="org.eclipse.wst.html.core.internal.tasks.HTMLFileTaskScanner"
23 class="org.eclipse.wst.xml.core.internal.tasks.XMLFileTaskScanner"
24 contentTypeIds="org.eclipse.wst.html.core.htmlsource" />
25 </extension>
26
27 <extension
28 point="org.eclipse.core.filebuffers.documentCreation"
29 id="org.eclipse.wst.html.core.documentfactories"
30 name="%Structured_HTML_Document_Factory_Extension.name">
31 <factory
32 contentTypeId="org.eclipse.wst.html.core.htmlsource"
33 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
34 </extension>
35
36 <extension point="org.eclipse.wst.sse.core.commentElementHandler">
37 <handler-custom
38 commenttype="xml"
39 class="org.eclipse.wst.html.core.internal.commentelement.handlers.CommentElementHandlerForSSI">
40 <startwith prefix="#"></startwith>
41 </handler-custom>
42 </extension>
43
44 <extension point="org.eclipse.team.core.fileTypes">
45 <fileTypes
46 type="text"
47 extension="html">
48 </fileTypes>
49 <fileTypes
50 type="text"
51 extension="htm">
52 </fileTypes>
53 <fileTypes
54 type="text"
55 extension="xhtml">
56 </fileTypes>
57 <fileTypes
58 type="text"
59 extension="htpl">
60 </fileTypes>
61 <fileTypes
62 type="text"
63 extension="wml">
64 </fileTypes>
65 <fileTypes
66 type="text"
67 extension="shtml">
68 </fileTypes>
69 <fileTypes
70 type="text"
71 extension="shtm">
72 </fileTypes>
73 </extension>
74
75 <extension point="org.eclipse.wst.sse.core.formatProcessors">
76 <processor
77 class="org.eclipse.wst.html.core.internal.format.HTMLFormatProcessorImpl"
78 contentTypeId="org.eclipse.wst.html.core.htmlsource">
79 </processor>
80 </extension>
81
82 <!-- Extension point for taghelp documentation -->
83 <extension point="org.eclipse.wst.xml.core.annotationFiles">
84 <annotationFile
85 location="data/htmref.xml"
86 publicId="-//W3C//DTD XHTML 1.0 Strict//EN">
87 </annotationFile>
88 <annotationFile
89 location="data/htmref.xml"
90 publicId="-//W3C//DTD XHTML 1.0 Transitional//EN">
91 </annotationFile>
92 <annotationFile
93 location="data/htmref.xml"
94 publicId="-//W3C//DTD XHTML 1.0 Frameset//EN">
95 </annotationFile>
96 <annotationFile
97 location="data/htmref.xml"
98 publicId="-//W3C//DTD XHTML Basic 1.0//EN">
99 </annotationFile>
100 <annotationFile
101 location="data/htmref.xml"
102 publicId="-//W3C//DTD XHTML 1.1//EN">
103 </annotationFile>
104 <annotationFile
105 location="data/htmref.xml"
106 publicId="-//WAPFORUM//DTD XHTML Mobile 1.0//EN">
107 </annotationFile>
108 </extension>
109
110 <extension point="org.eclipse.core.runtime.contentTypes">
111 <content-type
112 file-extensions="html,htm,xhtml,htpl,wml,shtml,shtm"
113 priority="high"
114 name="%HTML_Content_Type_Extension_Element.name"
115 id="htmlsource"
116 base-type="org.eclipse.core.runtime.text">
nitind958d79a2004-11-23 19:23:00 +0000117 <!-- note: no default-charset for HTML, should use 'platform' -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000118 <describer
119 class="org.eclipse.wst.html.core.internal.contenttype.ContentDescriberForHTML" />
nitind958d79a2004-11-23 19:23:00 +0000120 </content-type>
david_williamsad0e4cc2005-06-04 01:49:19 +0000121 </extension>
nitind958d79a2004-11-23 19:23:00 +0000122
david_williamsb72c8672005-06-15 19:47:05 +0000123<!-- moved to where the dtd's are contributed
nitind958d79a2004-11-23 19:23:00 +0000124
david_williamsad0e4cc2005-06-04 01:49:19 +0000125 <extension point="org.eclipse.wst.sse.core.documentTypes">
126 <documentType
127 elementName="html"
128 displayName="XHTML 1.0 Strict"
129 namespaceURI="http://www.w3.org/1999/xhtml"
130 isXHTML="true"
131 hasFrameset="false"
132 publicID="-//W3C//DTD XHTML 1.0 Strict//EN"
133 systemID="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
134 </documentType>
135 <documentType
136 elementName="html"
137 displayName="XHTML 1.0 Transitional"
138 namespaceURI="http://www.w3.org/1999/xhtml"
139 isXHTML="true"
140 hasFrameset="false"
141 publicID="-//W3C//DTD XHTML 1.0 Transitional//EN"
142 defaultXHTML="true"
143 systemID="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
144 </documentType>
145 <documentType
146 elementName="html"
147 displayName="XHTML 1.0 Frameset"
148 namespaceURI="http://www.w3.org/1999/xhtml"
149 isXHTML="true"
150 hasFrameset="true"
151 publicID="-//W3C//DTD XHTML 1.0 Frameset//EN"
152 systemID="http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
153 </documentType>
154 <documentType
155 elementName="html"
156 displayName="XHTML Basic 1.0"
157 namespaceURI="http://www.w3.org/1999/xhtml"
158 isXHTML="true"
159 hasFrameset="false"
160 publicID="-//W3C//DTD XHTML Basic 1.0//EN"
161 systemID="http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
162 </documentType>
163 <documentType
164 elementName="html"
165 displayName="XHTML 1.1"
166 namespaceURI="http://www.w3.org/1999/xhtml"
167 isXHTML="true"
168 hasFrameset="false"
169 publicID="-//W3C//DTD XHTML 1.1//EN"
170 systemID="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
171 </documentType>
172 <documentType
173 elementName="html"
174 displayName="XHTML MP 1.0"
175 namespaceURI="http://www.w3.org/1999/xhtml"
176 isXHTML="true"
177 hasFrameset="false"
178 publicID="-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
179 systemID="http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
180 </documentType>
181 <documentType
182 elementName="wml"
183 displayName="WML 1.3"
184 namespaceURI=""
185 isWML="true"
186 hasFrameset="false"
187 publicID="-//WAPFORUM//DTD WML 1.3//EN"
188 defaultWML="true"
189 systemID="http://www.wapforum.org/DTD/wml13.dtd">
190 </documentType>
191 </extension>
david_williamsb72c8672005-06-15 19:47:05 +0000192-->
david_williamsd3484c72005-05-25 21:11:11 +0000193 <!-- initialize html core preferences -->
194 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000195 <initializer
196 class="org.eclipse.wst.html.core.internal.preferences.HTMLCorePreferenceInitializer" />
david_williamsd3484c72005-05-25 21:11:11 +0000197 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000198
nitind958d79a2004-11-23 19:23:00 +0000199</plugin>