Bugs item #1226126, was opened at 2005-06-23 11:12 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1226126&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: Tasks Group: 0.85 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Igor Lemsky (drag79) >Assigned to: Gert Driesen (drieseng) Summary: Xpoke work incorrectly Initial Comment: It didnt find correct path if THERE IS xmlns in xml file and there no prefix. I dont understand - why I need to use prefix??? Empty prefix didnt solve the problem. So xml file with xmlns and without prefix cannot be xmlpoked, and that is very bad because nant himself use such file! ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2005-06-23 19:54 Message: Logged In: YES user_id=707851 Its indeed working as expected. Closing this report ... ---------------------------------------------------------------------- Comment By: Martin Aliger (maliger) Date: 2005-06-23 17:18 Message: Logged In: YES user_id=655297 It is behaviour of .NET Framework, which NAnt uses. When xml document use any namespace (possible with empty prefix) you _have to_ assign namespace manager to xpath navigator (in nant via <namespace>). XPath expression coudnt use empty prefixes -you have some prefix in your xpath queries. So I'd say we have to be ok with this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1226126&group_id=31650 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers