You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/02/13 01:38:35 UTC

cvs commit: cocoon-2.1/src/blocks/xmldb/samples populate.xml sitemap.xmap

joerg       2004/02/12 16:38:35

  Modified:    src/blocks/xmldb/samples populate.xml sitemap.xmap
  Log:
  fix the mounting the other way around (by populating it as sitemap) because **sitemap.xmap is caught by root sitemap
  
  Revision  Changes    Path
  1.5       +2 -2      cocoon-2.1/src/blocks/xmldb/samples/populate.xml
  
  Index: populate.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmldb/samples/populate.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- populate.xml	13 Feb 2004 00:19:59 -0000	1.4
  +++ populate.xml	13 Feb 2004 00:38:35 -0000	1.5
  @@ -15,7 +15,7 @@
   
     <h3>Import sitemap.xmap ...</h3>
     <textarea cols="75" rows="3">
  -    <x:query type="create" collection="cocoon" oid="sitemap.xmap" xmlns:x="http://apache.org/cocoon/xmldb/1.0">
  +    <x:query type="create" collection="cocoon" oid="sitemap" xmlns:x="http://apache.org/cocoon/xmldb/1.0">
         <i:include src="sitemap.xmap" xmlns:i="http://apache.org/cocoon/include/1.0"/>
       </x:query>
     </textarea>
  
  
  
  1.9       +1 -1      cocoon-2.1/src/blocks/xmldb/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmldb/samples/sitemap.xmap,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- sitemap.xmap	12 Feb 2004 18:37:25 -0000	1.8
  +++ sitemap.xmap	13 Feb 2004 00:38:35 -0000	1.9
  @@ -49,7 +49,7 @@
         </map:match>
   
         <map:match pattern="xmount/**">
  -        <map:mount uri-prefix="xmount" src="xmldb:xindice-embed:///db/cocoon/sitemap.xmap" check-reload="yes"/>
  +        <map:mount uri-prefix="xmount" src="xmldb:xindice-embed:///db/cocoon/sitemap" check-reload="yes"/>
         </map:match>
   
         <map:match pattern="populate">