Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
xmlproperty semanticAttributes and CDATA

xmlproperty semanticAttributes and CDATA

2007-06-06       - By Mark

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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.