On Wed, Sep 8, 2010 at 4:19 PM, Isuru Suriarachchi <is...@wso2.com> wrote:

> Hi all,
>
> We've found that some javascript functions are broken on trunk due to the
> inclusion of copyright headers. Ex: wsdl2java. But I'm still unable to find
> the exact reason and exact place from where the issue occurs. We might have
> to remove the license headers from those files.
>
>
Usually HTML comments inside ajax-processor JSPs is the culprit. We CAN'T
have HTML comments within ajax-processor JSPs because they are used to proxy
data to javascript. The code parsing the response from such JSPs don't
expect anything else in the response other than the data.

Solution: Find ajax-processors that are being called by javascript
XMLHttpRequest calls and replace their HTML comments with Java comments :)



> Thanks,
> ~Isuru
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Web Services Application Server
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Tyrell Perera
Product Manager - WSO2 Mashup Server, WSO2 Gadget Server

WSO2, Inc.; http://www.wso2.com/
"Lean Enterprise Middleware"

http://www.tyrell.co
http://www.linkedin.com/in/tyrell
http://twitter.com/tyrellperera
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to