[ 
https://wso2.org/jira/browse/MASHUP-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24482#action_24482
 ] 

Jonathan Marsh commented on MASHUP-1128:
----------------------------------------

Hacked in a (fake) XML declaration into the stylesheet.  The stylesheet remains 
hacky because it the gadget XML includes text-encoded HTML within it - the 
stylesheet thus should be outputting HTML in part and XML in part, yet this is 
not possible within a single XSLT without hacks.  Thus we use the html output 
method (meaning the text-encoded HTML is output correctly, manually wrap it in 
a CDATA section and embed the result in XML.  We then also have to hack in a 
fake XML decl.  Kind of messy but it works...

Fixed in rev 30752.

> XML decl missing from try-it gadgets
> ------------------------------------
>
>                 Key: MASHUP-1128
>                 URL: https://wso2.org/jira/browse/MASHUP-1128
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Jonathan Marsh
>             Fix For: 1.5.2
>
>
> See, e.g., http://mooshup.com/services/samples/RESTSample?gadget.  Needs an 
> XML decl for Google to recognize it as a legitimate gadget.

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

        

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

Reply via email to