Improve DTD definitions in Jackrabbit repository configurations.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / jcr / repository-memory.xml
index 3630a149d614f99f16ab4b569a000aadb4be881b..4f57362379dcb395a703565147540ff7b116923b 100644 (file)
@@ -1,5 +1,14 @@
 <?xml version="1.0"?>
-<!DOCTYPE Repository PUBLIC "Jackrabbit 2.6" "http://jackrabbit.apache.org/dtd/repository-2.6.dtd">
+<!DOCTYPE Repository [
+       <!ENTITY % repository-elements
+               PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 2.6 Elements//EN"
+               "http://jackrabbit.apache.org/dtd/repository-2.6-elements.dtd">
+       %repository-elements;
+       <!ENTITY % repository
+               PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 2.6//EN"
+               "http://jackrabbit.apache.org/dtd/repository-2.6.dtd">
+       %repository;
+]>
 <Repository>
        <!-- File system and datastore -->
        <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />