You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/12/29 02:14:43 UTC
[jira] Commented: (TAPESTRY-1818) Template parser should handle
CDATA blocks
[ https://issues.apache.org/jira/browse/TAPESTRY-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554867 ]
Howard M. Lewis Ship commented on TAPESTRY-1818:
------------------------------------------------
The fix for this is part of the fix for TAPESTRY-1600.
You have to be careful to use a <!DOCTYPE> and set the content type for the page to be "text/xml". Only then is the XML Markup Model used, which supports CDATA sections.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
in the template and
@Meta("tapestry.response-content-type=text/xml")
in the Java code.
> Template parser should handle CDATA blocks
> ------------------------------------------
>
> Key: TAPESTRY-1818
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1818
> Project: Tapestry
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org