You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2007/05/17 11:26:16 UTC

[jira] Created: (TOMAHAWK-992) Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser

Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser
--------------------------------------------------------------------------------------

                 Key: TOMAHAWK-992
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-992
             Project: MyFaces Tomahawk
          Issue Type: Improvement
    Affects Versions: 1.1.5
            Reporter: Peter Mahoney


I want to be able to override the parseResponse() method to not use ReducedHTMLParser. There are two major reasons for this:

All the pages are portlet-like HTML fragments - without HEAD and BODY tags. It therefore doesn't make sense looking for them.
One of the applications is webmail, where the quality of HTML in the content of the mails is uncontrolled. This currently produces hundreds of warnings from ReducedHTMLParser. 

The only thing stopping me overriding parseResponse() is that originalResponse is private. All the position markers are protected, so can originalResponse also be changed to protected?

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


[jira] Updated: (TOMAHAWK-992) Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Mahoney updated TOMAHAWK-992:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.7-SNAPSHOT
           Status: Resolved  (was: Patch Available)

> Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser
> --------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-992
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-992
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>    Affects Versions: 1.1.5
>            Reporter: Peter Mahoney
>            Assignee: Peter Mahoney
>             Fix For: 1.1.7-SNAPSHOT
>
>         Attachments: DefaultAddResource.patch
>
>
> I want to be able to override the parseResponse() method to not use ReducedHTMLParser. There are two major reasons for this:
> All the pages are portlet-like HTML fragments - without HEAD and BODY tags. It therefore doesn't make sense looking for them.
> One of the applications is webmail, where the quality of HTML in the content of the mails is uncontrolled. This currently produces hundreds of warnings from ReducedHTMLParser. 
> The only thing stopping me overriding parseResponse() is that originalResponse is private. All the position markers are protected, so can originalResponse also be changed to protected?

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


[jira] Updated: (TOMAHAWK-992) Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Mahoney updated TOMAHAWK-992:
-----------------------------------

    Status: Patch Available  (was: Open)

> Allow DefaultAddResource.parseResponse() to be overridden to not use ReducedHTMLParser
> --------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-992
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-992
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>    Affects Versions: 1.1.5
>            Reporter: Peter Mahoney
>
> I want to be able to override the parseResponse() method to not use ReducedHTMLParser. There are two major reasons for this:
> All the pages are portlet-like HTML fragments - without HEAD and BODY tags. It therefore doesn't make sense looking for them.
> One of the applications is webmail, where the quality of HTML in the content of the mails is uncontrolled. This currently produces hundreds of warnings from ReducedHTMLParser. 
> The only thing stopping me overriding parseResponse() is that originalResponse is private. All the position markers are protected, so can originalResponse also be changed to protected?

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