Created attachment 30557 [details] patch to reject on any element inside <jsp:text> JspDocumentParser does check for sub-elements within a jsp:text element but only fails if they are from the jsp namespace
Created attachment 30558 [details] patch to reject on any element inside <jsp:text>
Created attachment 30559 [details] patch to reject on any element inside <jsp:text> There is an additional problem here in that the check is assuming the name of the <jsp:text> node is "jsp:text" - it does not allow for the case where a different prefix is being used. This applies to the current implementation as well where nested <foo:text><foo:text> will not error if foo: is the JSP namespace. Updated the check to use the type of the parent Node rather than the XML
Thanks for the patch. It has been applied to trunk and 7.0.x and will be included in 7.0.43 onwards.