| <?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. |
| --> |
| |
| <cocoon version="2.2"> |
| |
| <include src="resource://org/apache/cocoon/cocoon.roles"/> |
| |
| <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/> |
| |
| <source-resolver/> |
| |
| <fam/> |
| |
| <source-factories> |
| <component-instance class="org.apache.excalibur.source.impl.ResourceSourceFactory" name="resource"/> |
| <component-instance class="org.apache.cocoon.components.source.impl.ContextSourceFactory" name="context"/> |
| <component-instance class="org.apache.excalibur.source.impl.FileSourceFactory" name="file"/> |
| <component-instance class="org.apache.excalibur.source.impl.URLSourceFactory" name="*"/> |
| </source-factories> |
| |
| <component role="org.apache.cocoon.blocks.BlockManager" |
| class="org.apache.cocoon.blocks.BlockManager" |
| id="test1id" location="test1/"> |
| <mount path="/test1/"/> |
| <connections> |
| <connection name="test2" block="test2id"/> |
| </connections> |
| <properties> |
| <property name="foo" value="bar"/> |
| </properties> |
| </component> |
| |
| </cocoon> |