[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[wtp-dev] Proposal: Ignore undefined HTML attributes, elements validation with extension point
|
Hi Angelo and WTP HTML Adopters,
For Bug #443097 (Ignore undefined HTML attributes, elements validation
with extension point) we'd like to propose a change to HTML Validation
in order to allow Adopters to introduce their own validators for the
custom tags like the ionic and angular ones that cannot be validated
through the DTDs or XML Schemas.
The change provides extension point that allows adopters to inject their
own custom validator, interface which is to be implemented by such a
validator and abstract class that already implements the required
interface for the validator and can be derived by a custom validator and
contain some useful utility methods. Custom validators might either just
prevent WTP HTML Validator to report errors for custom/dynamic tags and
attributes or even report their own validation errors.
JUnit test case for HTML Validator is updated with a test case in order
to test the custom validator.
We'd like to know if this change will be useful for the Adopters and
does its work.
Please discuss the enhancement at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=443097
Please review the code for the proposal at https://git.eclipse.org/r/63093
Thanks in advance,
Victor Rubezhny,
JSDT
--
CONFIDENTIALITY NOTICE: This email and files attached to it are
confidential. If you are not the intended recipient you are hereby notified
that using, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited. If you have received
this email in error please notify the sender and delete this email.