ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <mark6...@yahoo.com>
Subject xmlproperty semanticAttributes and CDATA
Date Mon, 04 Jun 2007 22:42:38 GMT
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


Mime
View raw message