Lines 270-280
Link Here
|
270 |
return; |
270 |
return; |
271 |
} |
271 |
} |
272 |
|
272 |
|
273 |
String currentPrefix = getPrefix(current.getQName()); |
|
|
274 |
|
275 |
// jsp:text must not have any subelements |
273 |
// jsp:text must not have any subelements |
276 |
if (JSP_URI.equals(uri) && TEXT_ACTION.equals(current.getLocalName()) |
274 |
if (current instanceof Node.JspText) { |
277 |
&& "jsp".equals(currentPrefix)) { |
|
|
278 |
throw new SAXParseException( |
275 |
throw new SAXParseException( |
279 |
Localizer.getMessage("jsp.error.text.has_subelement"), |
276 |
Localizer.getMessage("jsp.error.text.has_subelement"), |
280 |
locator); |
277 |
locator); |