jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1436793 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java
Date Tue, 22 Jan 2013 08:34:17 GMT
Author: ckoell
Date: Tue Jan 22 08:34:16 2013
New Revision: 1436793

URL: http://svn.apache.org/viewvc?rev=1436793&view=rev
Log:
JCR-3389 Implement a MultiDataStore

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java?rev=1436793&r1=1436792&r2=1436793&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java
Tue Jan 22 08:34:16 2013
@@ -30,6 +30,7 @@ import org.xml.sax.SAXException;
  * This simple resolver contains mappings for the following
  * public identifiers used for the Jackrabbit configuration files:
  * <ul>
+ * <li><code>-//The Apache Software Foundation//DTD Jackrabbit 2.6//EN</code></li>
  * <li><code>-//The Apache Software Foundation//DTD Jackrabbit 2.4//EN</code></li>
  * <li><code>-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN</code></li>
  * <li><code>-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN</code></li>
@@ -41,6 +42,7 @@ import org.xml.sax.SAXException;
  * <p>
  * Also the following system identifiers are mapped to local resources:
  * <ul>
+ * <li><code>http://jackrabbit.apache.org/dtd/repository-2.6.dtd</code></li>
  * <li><code>http://jackrabbit.apache.org/dtd/repository-2.4.dtd</code></li>
  * <li><code>http://jackrabbit.apache.org/dtd/repository-2.0.dtd</code></li>
  * <li><code>http://jackrabbit.apache.org/dtd/repository-1.6.dtd</code></li>
@@ -75,6 +77,21 @@ public class ConfigurationEntityResolver
      * Creates the singleton instance of this class.
      */
     private ConfigurationEntityResolver() {
+        // Apache Jackrabbit 2.6 DTD
+        publicIds.put(
+                "-//The Apache Software Foundation//DTD Jackrabbit 2.6//EN",
+                "repository-2.6.dtd");
+        systemIds.put(
+                "http://jackrabbit.apache.org/dtd/repository-2.6.dtd",
+                "repository-2.6.dtd");
+        publicIds.put(
+                "-//The Apache Software Foundation//DTD Jackrabbit 2.6 Elements//EN",
+                "repository-2.6-elements.dtd");
+        systemIds.put(
+                "http://jackrabbit.apache.org/dtd/repository-2.6-elements.dtd",
+                "repository-2.6-elements.dtd");
+
+        
         // Apache Jackrabbit 2.4 DTD
         publicIds.put(
                 "-//The Apache Software Foundation//DTD Jackrabbit 2.4//EN",



Mime
View raw message