Community
Participate
Working Groups
The HTML validation code assumes that it can validate all the elements in a file. As HTML is used with other server side languages the file will contain elements that the HTML validators will not understand. The only reason this works for JSPs is that the HTML validation code special cases JSP elements. An API should be provided that will allow HTML validators to support other languages. The best approach I have found so far is in the ElementImpl for the new elements in the method getExistingAdapter(Object type) is to check to see if the object type is class org.eclipse.wst.html.core.internal.validate.ElementPropagatingValidator and replace the propagating validator with my own.
Marking as wontfix since we're not going to open up the validator that way. Besides, you don't just want to ignore certain elements, you actually want them known and supported throughout the editors and validators.