cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/repository/conf sourcedescriptor.xconf repository-sourceinspector.xconf
Date Thu, 23 Oct 2003 17:18:48 GMT
unico       2003/10/23 10:18:48

  Added:       src/blocks/repository/conf sourcedescriptor.xconf
  Removed:     src/blocks/repository/conf repository-sourceinspector.xconf
  Log:
  rename and change role
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/repository/conf/sourcedescriptor.xconf
  
  Index: sourcedescriptor.xconf
  ===================================================================
  <?xml version="1.0"?>
  <xconf xpath="/cocoon" unless="component[@role='org.apache.cocoon.components.source.SourceInspector']">
  
    <!--
     - a source inspector handles source properties
     - a source descriptor handles read/write source properties
    -->
    <component 
      role="org.apache.cocoon.components.source.impl.SourceDescriptorManager" 
      class="org.apache.cocoon.components.source.impl.SourceDescriptorManager" 
      logger="core.source.sourcedescriptor">
      
      <sourceinspector class="org.apache.cocoon.components.source.impl.XPathSourceInspector">
        <parameter name="namespace" value="http://xml.apache.org/cocoon/xdoc/1.0"/>
        <parameter name="name"      value="title"/>
        <parameter name="extension" value=".xdoc"/>
        <parameter name="xpath"     value="/document/header/title"/>
      </sourceinspector>
      
      <sourceinspector class="org.apache.cocoon.components.source.impl.JPEGSourceInspector"/>
      <sourceinspector class="org.apache.cocoon.components.source.impl.GIFSourceInspector"/>
      
    </component>
   
  </xconf>
  
  
  

Mime
View raw message