cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghow...@apache.org
Subject cvs commit: cocoon-2.1/src/confpatch enable-uploads.xweb cocoon-reload.xweb
Date Sat, 31 May 2003 18:21:43 GMT
ghoward     2003/05/31 11:21:42

  Modified:    src/confpatch enable-uploads.xweb cocoon-reload.xweb
  Log:
  try a better way to do the xpath (is one word guaranteed 
  to always return one text node??, or at least very very 
  likely?)
  
  Revision  Changes    Path
  1.2       +3 -4      cocoon-2.1/src/confpatch/enable-uploads.xweb
  
  Index: enable-uploads.xweb
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/confpatch/enable-uploads.xweb,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- enable-uploads.xweb	31 May 2003 16:59:18 -0000	1.1
  +++ enable-uploads.xweb	31 May 2003 18:21:42 -0000	1.2
  @@ -1,5 +1,4 @@
  -<xweb xpath="/web-app/servlet/init-param[param-name='enable-uploads']"
  +<xweb xpath="/web-app/servlet/init-param[param-name='enable-uploads']/param-value"
   	if-prop="config.enable-uploads"
  -	remove="/web-app/servlet/init-param[param-name='enable-uploads']/param-value"
  -><param-value>true</param-value>
  -    </xweb>
  \ No newline at end of file
  +	remove="/web-app/servlet/init-param[param-name='enable-uploads']/param-value/text()"
  +>true</xweb>
  \ No newline at end of file
  
  
  
  1.2       +3 -4      cocoon-2.1/src/confpatch/cocoon-reload.xweb
  
  Index: cocoon-reload.xweb
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/confpatch/cocoon-reload.xweb,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cocoon-reload.xweb	31 May 2003 16:59:18 -0000	1.1
  +++ cocoon-reload.xweb	31 May 2003 18:21:42 -0000	1.2
  @@ -1,5 +1,4 @@
  -<xweb xpath="/web-app/servlet/init-param[param-name='allow-reload']"
  +<xweb xpath="/web-app/servlet/init-param[param-name='allow-reload']/param-value"
   	if-prop="config.allow-reloads"
  -	remove="/web-app/servlet/init-param[param-name='allow-reload']/param-value"
  -><param-value>yes</param-value>
  -    </xweb>
  \ No newline at end of file
  +	remove="/web-app/servlet/init-param[param-name='allow-reload']/param-value/text()"
  +>yes</xweb>
  \ No newline at end of file
  
  
  

Mime
View raw message