[ 
https://issues.apache.org/jira/browse/CONNECTORS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121351#comment-13121351
 ] 

Karl Wright commented on CONNECTORS-265:
----------------------------------------

There's already support in ManifoldCF ui-core for the escaping methods we need. 
 But more to the point, in one .html file there will be multiple types of 
escaping needed.  A simplistic solution will not work; you'll have to actually 
parse the .html file to find what sections should be escaped in what way.

I'm not adverse to checking the patch in as it stands, but bear in mind that 
we're not going to be able to apply the same technique broadly, for the reasons 
I've stated.

                
> Remove all the HTML snippets from the Java code
> -----------------------------------------------
>
>                 Key: CONNECTORS-265
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-265
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: CMIS connector
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>         Attachments: patch.txt, patch2.txt
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> We have to start to remove all the HTML code inside Java classes, I started a 
> refactoring to create a simple outputResource method that can be considered 
> globally for all the connectors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to