Bugs item #1154339, was opened at 2005-03-01 10:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1154339&group_id=31650
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: John Cole (johnwebbcole) Assigned to: Nobody/Anonymous (nobody) Summary: less than sign not allowed in ${} Initial Comment: The < sign fails with the following error when inside ${} braces: Error loading buildfile. '<', hexadecimal value 0x3C, is an invalid attribute character. Line 12, position 17. This would not be that odd, except that the greater than sign (>) does work. Here is an example build script: <project name="foo" default="bar"> <target name="bar"> <if test="${2 > 1} "> <!-- works --> <echo message="ok" /> </if> <if test="${1 < 2} "> <!-- works --> <echo message="ok" /> </if> <if test="${2 > 1} "> <!-- works --> <echo message="ok" /> </if> <if test="${1 < 2} "> <!-- fails --> <echo message="ok" /> </if> </target> </project> Shouldn't both < and > work or not work similarly? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1154339&group_id=31650 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers