[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2
Bugs item #3390653, was opened at 2011-08-12 10:11 Message generated for change (Comment added) made by rmboggs You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_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.91-alpha2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jiho Han () Assigned to: Ryan Boggs (rmboggs) Summary: xmlpeek broken in 0.91alpha2 Initial Comment: xmlpeek would return the inner xml of the node found in the property specified. This worked in 0.85 but returns an empty string in 0.91alpha2. I'm not certain whether this has existed in previous versions or not. -- Comment By: Ryan Boggs (rmboggs) Date: 2011-10-16 21:01 Message: This report is actually a duplicate of 3366107. I just realized this. However, I just committed an update to XmlPeek to cvs that should address this issue. I was able to successfully test the sample provided by gntleone. The expected output is now the actual output when nant is built from cvs. If possible, please test by building from cvs. -- Comment By: Ryan Boggs (rmboggs) Date: 2011-10-13 18:23 Message: Hmm, I'll take a look. -- Comment By: Lee (gntleone) Date: 2011-10-13 08:51 Message: The old behavior of retrieving the full collection of nodes has been broken. The only thing returned now is the text contents of child nodes, not the full node. This has been broken since nant-0.91-alpha1. Example follows. test.xml ?xml version=1.0 encoding=utf-8 standalone=yes? builds build name=TEST date10/13/2011 10:13:07/date buildNum126/buildNum modules module name=TESTModule FileVersion11.0.2002.101/FileVersion ProductVersion11.0.2002.101/ProductVersion /module /modules /build /builds QUERY: xmlpeek xpath=//builds file=${project.versions} property=xmlnodes/ Expected output: build name=TEST date10/13/2011 10:13:07/date buildNum126/buildNum modules module name=TESTModule FileVersion11.0.2002.101/FileVersion ProductVersion11.0.2002.101/ProductVersion /module /modules /build ACTUAL output: [xmlpeek] Found '1' nodes with the XPath expression '//builds'. [echo] xmlnodes: 10/13/2011 10:13:0712611.0.2002.10111.0.2002.101 -- Comment By: Dominik Guder (dogu) Date: 2011-09-25 13:22 Message: Until you provide a sample for this issue, I would suggest that you try to append /text() to your XPath so you should get the inner xml or value. Please drop me a note if I'm completely wrong. -- Comment By: Ryan Boggs (rmboggs) Date: 2011-08-14 13:06 Message: Hi, can you please provide a sample that can better illustrate this issue? I believe that this task is working fine for me, as far as I can tell. Thanks, Ryan -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2
Bugs item #3390653, was opened at 2011-08-12 10:11 Message generated for change (Comment added) made by rmboggs You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_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.91-alpha2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jiho Han () Assigned to: Nobody/Anonymous (nobody) Summary: xmlpeek broken in 0.91alpha2 Initial Comment: xmlpeek would return the inner xml of the node found in the property specified. This worked in 0.85 but returns an empty string in 0.91alpha2. I'm not certain whether this has existed in previous versions or not. -- Comment By: Ryan Boggs (rmboggs) Date: 2011-10-13 18:23 Message: Hmm, I'll take a look. -- Comment By: Lee (gntleone) Date: 2011-10-13 08:51 Message: The old behavior of retrieving the full collection of nodes has been broken. The only thing returned now is the text contents of child nodes, not the full node. This has been broken since nant-0.91-alpha1. Example follows. test.xml ?xml version=1.0 encoding=utf-8 standalone=yes? builds build name=TEST date10/13/2011 10:13:07/date buildNum126/buildNum modules module name=TESTModule FileVersion11.0.2002.101/FileVersion ProductVersion11.0.2002.101/ProductVersion /module /modules /build /builds QUERY: xmlpeek xpath=//builds file=${project.versions} property=xmlnodes/ Expected output: build name=TEST date10/13/2011 10:13:07/date buildNum126/buildNum modules module name=TESTModule FileVersion11.0.2002.101/FileVersion ProductVersion11.0.2002.101/ProductVersion /module /modules /build ACTUAL output: [xmlpeek] Found '1' nodes with the XPath expression '//builds'. [echo] xmlnodes: 10/13/2011 10:13:0712611.0.2002.10111.0.2002.101 -- Comment By: Dominik Guder (dogu) Date: 2011-09-25 13:22 Message: Until you provide a sample for this issue, I would suggest that you try to append /text() to your XPath so you should get the inner xml or value. Please drop me a note if I'm completely wrong. -- Comment By: Ryan Boggs (rmboggs) Date: 2011-08-14 13:06 Message: Hi, can you please provide a sample that can better illustrate this issue? I believe that this task is working fine for me, as far as I can tell. Thanks, Ryan -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2
Bugs item #3390653, was opened at 2011-08-12 13:11 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jiho Han () Assigned to: Nobody/Anonymous (nobody) Summary: xmlpeek broken in 0.91alpha2 Initial Comment: xmlpeek would return the inner xml of the node found in the property specified. This worked in 0.85 but returns an empty string in 0.91alpha2. I'm not certain whether this has existed in previous versions or not. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650 -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers