myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Moebius (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-1129) ReducedHTMLParser: wrong line numbers
Date Mon, 16 Jun 2008 08:31:45 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605220#action_12605220
] 

Dirk Moebius commented on TOMAHAWK-1129:
----------------------------------------

Hmm... I reported this issue is so long ago; I can't remember how to reproduce it. Sorry,
I should have given a more detailled description of the problem.

The error does not occur if there's a parsing error on the jsp page -- those errors will be
detected by the jasper compiler. ReducedHTMLParser is used by the ExtensionsFilter only, so
it has to be an error regarding javascript or multipart requests. But I can't remember. :-(

Please leave this error open for two weeks so that I can investigate and give further details.


> ReducedHTMLParser: wrong line numbers
> -------------------------------------
>
>                 Key: TOMAHAWK-1129
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1129
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.6
>         Environment: MyFaces 1.1.5
>            Reporter: Dirk Moebius
>         Attachments: ReducedHTMLParser.java.patch
>
>
> ReducedHTMLParser reports wrong line numbers in exceptions. The reason is because in
consumeExcept(String) the member variable _lineNumber is increased twice because of code duplication.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message