ovidiu 2002/10/01 09:06:35 Modified: src/test/anteater sitemapReload.xml Log: Use a regexp pattern to check the value. Correctly identify the paragraph element containing the value. Revision Changes Path 1.3 +2 -2 xml-cocoon2/src/test/anteater/sitemapReload.xml Index: sitemapReload.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/test/anteater/sitemapReload.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemapReload.xml 1 Oct 2002 09:30:11 -0000 1.2 +++ sitemapReload.xml 1 Oct 2002 16:06:35 -0000 1.3 @@ -25,7 +25,7 @@ <httpRequest href="${url}" description="Send original request"> <match> - <xpath select="html/body//p" value="abc"/> + <xpath select="html/body//p[2]" pattern=".*abc.*"/> </match> </httpRequest> @@ -43,7 +43,7 @@ <httpRequest href="${url}" description="Send next request after sitemap was modified"> <match> - <xpath select="html/body//p" value="123"/> + <xpath select="html/body//p[2]" pattern=".*123.*"/> </match> </httpRequest>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]