blob: 542de6e3e54a95bb40b5e21908f52242b731a7e4 [file] [log] [blame]
<?xml version="1.0" ?>
<!--
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<testcase>
<context>
<entry name="root-url" value="/"/>
</context>
<roles>
<role name="org.apache.excalibur.xml.dom.DOMParser"
shorthand="dom-parser"
default-class="org.apache.excalibur.xml.impl.JaxpParser"/>
<role name="org.apache.excalibur.xml.sax.SAXParser"
shorthand="xml-parser"
default-class="org.apache.excalibur.xml.impl.JaxpParser"/>
<role name="org.apache.excalibur.xmlizer.XMLizer"
shorthand="xmlizer"
default-class="org.apache.excalibur.xmlizer.DefaultXMLizer"/>
<role name="org.apache.excalibur.xml.xslt.XSLTProcessor"
shorthand="xslt-processor"
default-class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl"/>
<role name="org.apache.excalibur.xml.xpath.XPathProcessor"
shorthand="xpath-processor"
default-class="org.apache.excalibur.xml.xpath.XPathProcessorImpl"/>
<role name="org.apache.cocoon.transformation.TransformerSelector"
shorthand="transformers"
default-class="org.apache.cocoon.core.container.StandaloneServiceSelector"/>
<role name="org.apache.excalibur.store.Store/TransientStore"
shorthand="transient-store"
default-class="org.apache.excalibur.store.impl.MemoryStore"/>
<role name="org.apache.excalibur.store.Store"
shorthand="persistent-store"
default-class="org.apache.excalibur.store.impl.MemoryStore"/>
<!-- i18n components for resource bundle handling -->
<role name="org.apache.cocoon.i18n.BundleFactory"
shorthand="i18n-bundles"
default-class="org.apache.cocoon.i18n.XMLResourceBundleFactory"/>
</roles>
<components>
<xml-parser class="org.apache.excalibur.xml.impl.JaxpParser">
<parameter name="validate" value="false"/>
<parameter name="namespace-prefixes" value="false"/>
<parameter name="stop-on-warning" value="true"/>
<parameter name="stop-on-recoverable-error" value="true"/>
<parameter name="reuse-parsers" value="false"/>
</xml-parser>
<xmlizer/>
<transient-store/>
<persistent-store/>
<xslt-processor logger="core.xslt-processor">
<parameter name="use-store" value="true"/>
<parameter name="incremental-processing" value="true"/>
</xslt-processor>
<i18n-bundles logger="core.i18n-bundles">
<catalogue-name>messages</catalogue-name>
<catalogue-location>resource://org/apache/cocoon/transformation</catalogue-location>
<cache-at-startup>true</cache-at-startup>
</i18n-bundles>
<transformers logger="test">
<component-instance class="org.apache.cocoon.transformation.I18nTransformer"
name="i18n">
<catalogues default="messages">
<catalogue id="messages" name="i18n-messages" location="resource://org/apache/cocoon/transformation"/>
<catalogue id="menu" name="i18n-menu" location="resource://org/apache/cocoon/transformation"/>
</catalogues>
<cache-at-startup>true</cache-at-startup>
</component-instance>
</transformers>
</components>
</testcase>