[ http://issues.apache.org/jira/browse/BEEHIVE-278?page=history ] Jeremiah Johnson closed BEEHIVE-278: ------------------------------------
> ScriptHeader not validating body-content > ---------------------------------------- > > Key: BEEHIVE-278 > URL: http://issues.apache.org/jira/browse/BEEHIVE-278 > Project: Beehive > Type: Bug > Components: NetUI > Reporter: Jeremiah Johnson > Assignee: Jeremiah Johnson > Priority: Minor > > <netui:scriptHeader/> validation that its body is empty (such as > <netui:content/> for example); as it is, a user can put something like this > into the page: > <netui:scriptHeader>I'm not empty.</netui:scriptHeader> > And the result is this: > <script language="JavaScript" type="text/JavaScript" > src="/ics/resources/beehive/version1/javascript/netui-tree.js"></script>I'm > not empty. > I would rather see this message: > 'According to TLD, tag netui:scriptHeader must be empty, but is not' > This may be an issue for some that assume that scriptHeader is just a > specialization of scriptBlock. Validation would prevent confusion. > - jeremiah -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
