Editor fails when including a service with "]]>" in it.
-------------------------------------------------------

                 Key: MASHUP-564
                 URL: http://wso2.org/jira/browse/MASHUP-564
             Project: WSO2 Mashup Server
          Issue Type: Bug
            Reporter: Jonathan Marsh
         Assigned To: Tyrell Perera
             Fix For: 1.0


I tried copy/pasting nationalgeographic into the edit window, but it fails 
because of these lines:

<xslt>
                        <xml>
                                <html-to-xml>
                                    <http method='get' url={url} />
                                </html-to-xml>
                            </xml>
                            <stylesheet>
                        <![CDATA[
                            <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
                                ...
                            </xsl:stylesheet>
                        ]]>
                        </stylesheet>
                    </xslt>

Namely, CDATA sections can't be nested completely.

Because of WebHarvest's (ridiculous) requirement that stylesheets be included 
as escaped text instead of straight XML, this will be a fairly common case.  
Escaping with &lt; and &amp; would be preferable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to