myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Marinschek <martin.marinsc...@gmail.com>
Subject Re: ReducedHTMLParser broken
Date Mon, 31 Oct 2005 09:32:56 GMT
Hi Simon,

can I ask you again to open a jira-issue? Maybe you could also write
up a unit test which shows that the ReducedHtmlParser is broken?
Alternatively, just send in a very reduced HTML page where the problem
occurs.

Thanks a lot,

regards,

Martin

On 10/31/05, Simon Kitching <skitching@obsidium.com> wrote:
> 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
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Mime
View raw message