You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2019/06/07 21:06:15 UTC
svn commit: r1860791 -
/jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
Author: pmouawad
Date: Fri Jun 7 21:06:15 2019
New Revision: 1860791
URL: http://svn.apache.org/viewvc?rev=1860791&view=rev
Log:
Bug 63480 - XPathAssertion and XPathAssertion2: Cover input coming from variable
Fix javadocs
Bugzilla Id: 63480
Modified:
jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java?rev=1860791&r1=1860790&r2=1860791&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java Fri Jun 7 21:06:15 2019
@@ -601,6 +601,7 @@ public class XPathUtil {
* Validate xpathString is a valid XPath expression
* @param document XML Document
* @param xpathString XPATH String
+ * @param namespaces Space separated set of prefix=namespace
* @throws TransformerException if expression fails to evaluate
*/
public static void validateXPath2(Document document, String xpathString,String namespaces) throws TransformerException {
@@ -673,10 +674,11 @@ public class XPathUtil {
/***
*
- * @param result The result of xpath2 assertion
- * @param xmlFile
- * @param xPathQuery
- * @param namespaces
+ * @param result The result of xpath2 assertion
+ * @param xmlFile XML data
+ * @param xPathQuery XPath Query
+ * @param namespaces Space separated set of prefix=namespace
+ * @param isNegated invert result
* @throws SaxonApiException
* @throws FactoryConfigurationError
*/