You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2007/09/17 21:42:43 UTC

[jira] Resolved: (TAPESTRY-1326) ' and " should be encoded as entity if output mode is not raw

     [ https://issues.apache.org/jira/browse/TAPESTRY-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Andreou resolved TAPESTRY-1326.
---------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 4.2)
                   4.1.4

This is not the current behavior - so marking this as invalid...
And anyway, if you want to see 
&amp;&lt;&gt;&apos;&quot;
in the output, you have to use CDATA, i.e. :
<binding name="value"><![CDATA[literal:&amp;&lt;&gt;&apos;&quot;]]></binding>

> ' and " should be encoded as entity if output mode is not raw
> -------------------------------------------------------------
>
>                 Key: TAPESTRY-1326
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1326
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.2
>            Reporter: Norbert Sándor
>             Fix For: 4.1.4
>
>
> ' and " should be encoded as &apos; and &qout; if output type is not raw.
> For example:
> <span jwcid="insert" /><br/>
> <span jwcid="insertRaw" />
> <component id="insert" type="Insert">
>     <binding name="value">literal:&amp;&lt;&gt;&apos;&quot;</binding>
>     <binding name="raw">false</binding>
> </component>
> <component id="insertRaw" type="Insert">
>     <binding name="value">literal:&amp;&lt;&gt;&apos;&quot;</binding>
>     <binding name="raw">true</binding>
> </component>
> The output is
> &amp;&lt;&gt;'"<br/>
> &<>'"
> although I would have expected
> &amp;&lt;&gt;&apos;&quot;<br/>
> &<>'"
> What do you think?
> Regards:
> Norbi

-- 
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