| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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. |
| --> |
| |
| <!-- $Id: doctypes.xconf 164635 2005-04-25 20:01:43Z tschlabach $ --> |
| |
| <xconf xpath="/cocoon/source-factories" |
| remove="/cocoon/source-factories/component-instance[@name = 'jcr']" |
| unless="/cocoon/source-factories/component-instance[@name = 'jcr'][@class = 'org.apache.lenya.cms.jcr.LenyaJCRSourceFactory']"> |
| |
| <component-instance class="org.apache.lenya.cms.jcr.LenyaJCRSourceFactory" name="jcr"> |
| <folder-node new-file="nt:file" new-folder="nt:folder" type="rep:root"/> |
| <folder-node new-file="nt:file" new-folder="nt:unstructured" type="nt:unstructured"/> |
| <folder-node type="nt:folder" new-file="nt:file"/> |
| <file-node content-path="jcr:content" content-type="nt:resource" type="nt:file"/> |
| <file-node content-ref="jcr:content" type="nt:linkedFile"/> |
| <content-node type="nt:resource" |
| content-prop="jcr:data" |
| mimetype-prop="jcr:mimeType" |
| lastmodified-prop="jcr:lastModified" |
| validity-prop="jcr:lastModified"/> |
| </component-instance> |
| |
| </xconf> |
| |