blob: 608f1900474c12a66cd12ca268bb6610c91a0087 [file] [log] [blame]
lmandel4c1ee842006-04-05 03:11:42 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.wst.xml.core">
4<annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.wst.xml.core" id="errorCustomizer" name="XML Validation Error Customizer"/>
7 </appInfo>
8 <documentation>
9 The error customizer extension point allows a client to contribute an error customizer for a specific namespace. The error customizer can provide error messages that are more domain specific than the generic error messages provided by the underlying generic XML validator.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="errorCustomizer" minOccurs="1" maxOccurs="unbounded"/>
17 </sequence>
18 <attribute name="point" type="string" use="required">
19 <annotation>
20 <documentation>
21 a fully qualified identifier of the target extension point
22 </documentation>
23 </annotation>
24 </attribute>
25 <attribute name="id" type="string">
26 <annotation>
27 <documentation>
28 an optional identifier of the extension instance
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="name" type="string">
33 <annotation>
34 <documentation>
35 an optional name of the extension instance
36 </documentation>
37 <appInfo>
38 <meta.attribute translatable="true"/>
39 </appInfo>
40 </annotation>
41 </attribute>
42 </complexType>
43 </element>
44
45 <element name="errorCustomizer">
46 <complexType>
47 <attribute name="namespace" type="string" use="required">
48 <annotation>
49 <documentation>
50 The namespace for which this error customizer will consider error customizations.
51 </documentation>
52 </annotation>
53 </attribute>
54 <attribute name="class" type="string" use="required">
55 <annotation>
56 <documentation>
57 The class that implements &lt;code&gt;org.eclipse.wst.xml.core.internal.validation.errorcustomization.IErrorMessageCustomizer&lt;/code&gt;.
58 </documentation>
59 </annotation>
60 </attribute>
61 </complexType>
62 </element>
63
64 <annotation>
65 <appInfo>
66 <meta.section type="since"/>
67 </appInfo>
68 <documentation>
69 &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
70 </documentation>
71 </annotation>
72
73 <annotation>
74 <appInfo>
75 <meta.section type="examples"/>
76 </appInfo>
77 <documentation>
78 The following is an example of an Error Customizer contribution:
79&lt;pre&gt;
80 &lt;extension
81 id=&quot;sampleErrorCustomizer&quot;
82 name=&quot;Sample Error Customizer&quot;
83 point=&quot;org.eclipse.wst.xml.core.errorCustomizer&quot;&gt;
84 &lt;errorCustomizer
85 namespace=&quot;http://sample.namespace&quot;
86 class=&quot;org.eclipse.wst.xml.core.SampleErrorCustomizer&quot;/&gt;
87 &lt;/extension&gt;
88&lt;/pre&gt;
89 </documentation>
90 </annotation>
91
92 <annotation>
93 <appInfo>
94 <meta.section type="apiInfo"/>
95 </appInfo>
96 <documentation>
97 The supplied class must implement &lt;code&gt;org.eclipse.wst.xml.core.internal.validation.errorcustomization.IErrorMessageCustomizer&lt;/code&gt;.
98 </documentation>
99 </annotation>
100
101 <annotation>
102 <appInfo>
103 <meta.section type="implementation"/>
104 </appInfo>
105 <documentation>
106
107 </documentation>
108 </annotation>
109
110 <annotation>
111 <appInfo>
112 <meta.section type="copyright"/>
113 </appInfo>
114 <documentation>
115 Copyright (c) 2006 IBM Corporation and others.&lt;br&gt;
116All rights reserved. This program and the accompanying materials are made
117available under the terms of the Eclipse Public License v1.0 which accompanies
118this distribution, and is available at &lt;a
119href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
120 </documentation>
121 </annotation>
122
123</schema>