You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mark <ma...@yahoo.com> on 2007/06/05 00:42:38 UTC

xmlproperty semanticAttributes and CDATA

It appears the with semanticAttributes set to true
properties are still not expanded if they reside in
CDATA sections.  E.g. (in properties file):

<myxmlproperty><![CDATA[<script
type="text/javascript">
   var myVar = "${myproperty}"
</script>]]></myxmlproperty>

The property inside the CDATA section remains
unexpanded.

Dividing up the CDATA sections so that the parts with
the  properties are expanded does allow them to be
expanded but the property value is not parsed
correctly (parts are missing and out of order).

Is this a bug or intended behavior?  Is there some
other way to do this (other than adding another
replace task)?

Thanks,

Mark


       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org