I am trying to use some xml with the markup values of the xml'ish characters and NAnt it messing with them.

When setting the following property
<property name="MyString" value="&lt;CustomProps&gt;&lt;UseSSO vt='11'&gt;0&lt;/UseSSO&gt;&lt;Password vt='8' &gt;hello&lt;/Password&gt;&lt;UseProxy vt='11'&gt;0&lt;/UseProxy&gt;" />
<echo message="${MyString}" />

Returns:
[echo] <CustomProps><UseSSO vt='11'>0</UseSSO><Password vt='8' >hello</Password><UseProxy vt='11'>0</UseProxy>

I want:
[echo] &lt;CustomProps&gt;&lt;UseSSO vt='11'&gt;0&lt;/UseSSO&gt;&lt;Password vt='8' &gt;hello&lt;/Password&gt;&lt;UseProxy vt='11'&gt;0&lt;/UseProxy&gt;

I checked the source code and it is just a string. I see what it is doing, don't really care why (I'm assuming some releation to System.Xml) but would like to know if there is a work around. Think this is an application bug?

Thanks,
Eric




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to