Henry, This is now fixed in cvs.
Thanks for reporting this ! Gert ----- Original Message ----- From: "Price, Henry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 12:42 PM Subject: [Nant-users] XMLPoke not allowing null > Hi, > > I'm using the <xmlpoke> in our scripts quite a bit - the only problem is > that it won't take an empty value - fails with: > > '' is not a valid value for attribute 'value' of <xmlpoke ... />. > An empty value is not allowed. > > An example of the script to generate it: > > <property name="example.xml.property" value=""/> > <xmlpoke file="${dir.example}\example.config.xml" xpath="/typical/example" > value="${example.xml.property}"/> > > Is there a specific reason for this? I think an empty value is a valid entry > in an XML file (we certainly use it a lot here :) i.e. > > <example></example> > > as well as > > <example>something<\example> > > As it stands I've written my own task to do the same thing, but it'd be nice > to use the core tasks where possible. > > What do people think? > > Thanks > > Henry > > > "This communication is intended solely for the addressee and is confidential and not for third party unauthorised distribution." > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users