Closed kaloyan-raev closed 9 years ago
It was the same problem with JSP scriptlet. For that @gamerson have implemented an extension point to ignore validation. See JSPScriptletIgnoreValidator declared https://github.com/angelozerr/eclipse-wtp-webresources/blob/master/org.eclipse.a.wst.html.webresources.core/plugin.xml#L79
For PHP we should have a new extension point declaration like PHPIgnoreValidator
Thanks for the hint! See PR https://github.com/angelozerr/eclipse-wtp-webresources/pull/33
Consider the following snippet:
In this case the src value is marked as error by the validator. This is not useful and actually annoying for users. Since the output of the PHP script cannot be determined during design time, it would be better to skip the validation when we have embedded PHP script in the src value.