myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@obsidium.com>
Subject ReducedHTMLParser broken
Date Mon, 31 Oct 2005 01:13:12 GMT
ReducedHTMLParser (used by AddResource class) appears to be totally broken.

I found that my script references were getting inserted right into the 
middle of the body of my html page. After inserting some debug code, I 
have found that
   closedStartTag
is being called every time that "//-->" is encountered in the page. And 
that's a lot, as that sequence is generated whenever an inline script is 
inserted into the page.

This problem breaks every page containing a component that inserts 
javascript into the page header (jscookmenu, HtmlTree, etc).

Regards,

Simon

Mime
View raw message