[ nant-Bugs-3029856 ] xmlns not allowed in custom task
"SourceForge.net" <[email protected]> Thu, 15 Jul 2010 08:19:45 +0000
| Newsgroups | gmane.comp.windows.dotnet.nant.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3029856, was opened at 2010-07-15 08:19
Message generated for change (Settings changed) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3029856&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
>Group: 0.91-alpha1
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: xmlns not allowed in custom task
Initial Comment:
After upgrading to 0.91 alpha, the xmlns attribute is no longer allowed in the xml in a custom task. The project fails with "
I have a custom task <configmerge> which has the following XML in an include file:
<!-- Analytics -->
<configmerge configfile="filename.config">
<element action="Merge" xpath="/configuration/setting">
<setting name="Analytics.EMailFromAddress" value="[email protected]" xmlns="http://my.uri" />
</element>
</configmerge>
This XML is rightfully ignored by nAnt in the previous versions, but will now fail with:
Could not include build file 'C:\Projects\PT\Website2008\configmerge.build'.
The 'xmlns' attribute is bound to the reserved namespace 'http://www.w3.org/2000/xmlns/'.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3029856&group_id=31650
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first