You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by to...@apache.org on 2003/12/16 00:30:24 UTC

cvs commit: cocoon-2.1/src/blocks/scratchpad/samples/othello sitemap.xmap

tony        2003/12/15 15:30:24

  Modified:    src/blocks/scratchpad/samples/othello sitemap.xmap
  Log:
  fixing transformer exception in sample
  
  Revision  Changes    Path
  1.2       +10 -5     cocoon-2.1/src/blocks/scratchpad/samples/othello/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/samples/othello/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	15 Dec 2003 20:31:46 -0000	1.1
  +++ sitemap.xmap	15 Dec 2003 23:30:24 -0000	1.2
  @@ -8,11 +8,16 @@
   		<map:transformers default="xslt">
   			<!-- Configure i18n transformer -->
   			<map:transformer name="i18n" logger="sitemap.transformer.i18n" src="org.apache.cocoon.transformation.I18nTransformer">
  -				<!-- This parameter sets the base name for dictionary files -->
  -				<catalogue-name>messages</catalogue-name>
  -				<!-- This parameter sets the path where dictionaries are placed-->
  -				<catalogue-location>translations</catalogue-location>
  -				<cache-at-startup>true</cache-at-startup>
  +			  <catalogues default="messages">
  +			    <catalogue id="messages" name="messages" location="translations"/>
  +			  </catalogues>
  +			  <cache-at-startup>true</cache-at-startup>			
  +	
  +				<!-- This parameter sets the base name for dictionary files 
  +				<catalogue-name>messages</catalogue-name> -->
  +				<!-- This parameter sets the path where dictionaries are placed 
  +				<catalogue-location>translations</catalogue-location> 
  +				<cache-at-startup>true</cache-at-startup> -->
   			</map:transformer>
   		</map:transformers>
   		<map:readers default="resource"/>