Yes indeed.

Thanks for noticing Ive. 
We can wrap it in a CDATA or escape those chars...

Diogo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Ive Hellemans (JIRA)
> Sent: terça-feira, 6 de Junho de 2006 14:19
> To: xdoclet-plugins-interest@lists.sourceforge.net
> Subject: [xdoclet-plugins-interest] [jira] Created: (XDP-185) The contents
> of ejb-ql queries is not 'escaped'
> 
> The contents of ejb-ql queries is not 'escaped'
> -----------------------------------------------
> 
>          Key: XDP-185
>          URL: http://jira.codehaus.org/browse/XDP-185
>      Project: XDoclet 2 Plugins
>         Type: Bug
> 
>   Components: ejb
>     Versions: plugin-ejb
>     Reporter: Ive Hellemans
> 
> 
> Hi there,
> 
> When an ejb-ql query contains greater then or less then characters, the
> generated XML is considered as being invalid because these characters are
> not escaped.
> 
> I think this can be avoided by changing beans.jelly:
> 
> replace
>       <ejb-ql>${finderTag.query}</ejb-ql>
> by
>       <ejb-ql>&lt;![CDATA[${finderTag.query}]]&gt;</ejb-ql>
> 
> and replace
>       <ejb-ql>${selectMethod.getTagByName('ejb.select').query}</ejb-ql>
> by
>       <ejb-
> ql>&lt;![CDATA[${selectMethod.getTagByName('ejb.select').query}]]&gt;</ejb
> -ql>
> 
> Regards,
> Ive
> 
> PS: A similar change should probably be done to escape descriptions etc
> also.
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 
> 
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to