Bugs item #1560566, was opened at 2006-09-18 10:57
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=1560566&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: Open
Resolution: None
Priority: 5
Submitted By: Gerald Schroecker (gschroecker)
Assigned to: Nobody/Anonymous (nobody)
Summary: xmlpeek with count() fails

Initial Comment:
The task <xmlpeek> does not work with the xpath count
() function:

e.g. 

<xmlpeek file="autotest.xml" xpath="count
(/Autotester/Script/[EMAIL PROTECTED]'Error'])" 
property="errorcount" />

ALWAYS fails with the following message:

Failed to select node with XPath expression 'count
(/Autotester/Script/[EMAIL PROTECTED]'Error'])'.
    The expression passed to this method should result 
in a NodeSet.

The file autotest.xml looks like that:

<Autotester Type="Errorlog">
  <Script Name="Autotest.tst">
    <Message Level="Error" Nr="1" Event="Begin" />
  </Script>
</Autotester>

-
Gerald

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1560566&group_id=31650

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to