Closed samifruit514 closed 11 years ago
Actually, I just tried it, and it worked. Im not sure how to fix this properly with xpath :(
Hi, thanks for this.
Take a look at the commit I've just pushed - it does a global search for the file tag rather than specifying the ancestors explicitly. It worked for me, and hopefully it will for you too.
Thanks
Bumping this :)
Ok, treating this as fixed, closing.
there is a package tag in my clover xml (namespace)
in this case, should this: ctxt.xpathEval("/coverage/project/file[@name='"+fileName+"']/line[@type='stmt']")
be this: ctxt.xpathEval("/coverage/project/package/file[@name='"+fileName+"']/line[@type='stmt']") ?