Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328416 - Providing additional inclusion filters for XML Validator using an extension-point contribution
Summary: Providing additional inclusion filters for XML Validator using an extension-p...
Status: NEW
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: wst.validation CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 17:06 EDT by Vasanth Velusamy CLA
Modified: 2010-10-21 17:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasanth Velusamy CLA 2010-10-21 17:06:19 EDT
This enhancement request stems from a forum discussion (http://www.eclipse.org/forums/index.php?t=msg&th=73028&)

I have a content type whose base type is org.eclipse.core.runtime.xml. I would like XML Validation to be enabled on this content type. When I open Preferences > Validation > XML Validator > Settings >Validation Filters for XML Validator, I see that org.eclipse core.runtime.xml is in the 'Include Group', but it has 'excludes subtypes'. When I manually add my content type to the 'Include Group', I get the behavior I want. It would be nice to do this declaratively, through an extension point, so that validation is enabled by default.

The validation framework provides for contributing exclusion rules to an 
existing validator. See this extension point 
org.eclipse.wst.validation.exclude and 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227834 for details.

There is no such extension point to contribute new inclusion rules to an 
existing validator.