XML Validation Error Customizer
Identifier:
org.eclipse.wst.xml.core.errorCustomizer
Since:
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.
Description:
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.
Configuration Markup:
<!ELEMENT extension (errorCustomizer+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT errorCustomizer EMPTY>
<!ATTLIST errorCustomizer
namespace CDATA #REQUIRED
class CDATA #REQUIRED>
- namespace - The namespace for which this error customizer will consider error customizations.
- class - The class that implements
org.eclipse.wst.xml.core.internal.validation.errorcustomization.IErrorMessageCustomizer
.
Examples:
The following is an example of an Error Customizer contribution:
<extension
id=
"sampleErrorCustomizer"
name=
"Sample Error Customizer"
point=
"org.eclipse.wst.xml.core.errorCustomizer"
>
<errorCustomizer
namespace=
"http://sample.namespace"
class=
"org.eclipse.wst.xml.core.SampleErrorCustomizer"
/>
</extension>
API Information:
The supplied class must implement org.eclipse.wst.xml.core.internal.validation.errorcustomization.IErrorMessageCustomizer
.
Copyright (c) 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html