cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/test/anteater sitemapReload.xml
Date Tue, 01 Oct 2002 16:06:35 GMT
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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message