[jbosscache-commits] JBoss Cache SVN: r6227 - in core/trunk/src: main/release and 2 other directories.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Jul 8 17:54:14 EDT 2008


Author: mircea.markus
Date: 2008-07-08 17:54:14 -0400 (Tue, 08 Jul 2008)
New Revision: 6227

Modified:
   core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser.java
   core/trunk/src/main/release/build.xml
   core/trunk/src/main/resources/config-samples/buddy-replication.xml
   core/trunk/src/test/resources/configs/buddy-replication-cache.xml
Log:
fixed some todos and typos

Modified: core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser.java	2008-07-08 21:48:35 UTC (rev 6226)
+++ core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser.java	2008-07-08 21:54:14 UTC (rev 6227)
@@ -172,7 +172,7 @@
          configureCustomInterceptors(getSingleElement("customInterceptors"));
       } catch (Exception e)
       {
-         throw new ConfigurationException("Unexpected exception while parsing the configuration file", e);
+         throw new ConfigurationException("Unexpected excetion while parsing the configuration file", e);
       }
       return config;
    }
@@ -384,7 +384,6 @@
          {
             docBuilderFactory.setValidating(true);
             docBuilderFactory.setNamespaceAware(true);
-            //todo mmarkus load schema from classpath
             docBuilderFactory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
          }
          DocumentBuilder parser = docBuilderFactory.newDocumentBuilder();

Modified: core/trunk/src/main/release/build.xml
===================================================================
--- core/trunk/src/main/release/build.xml	2008-07-08 21:48:35 UTC (rev 6226)
+++ core/trunk/src/main/release/build.xml	2008-07-08 21:54:14 UTC (rev 6227)
@@ -128,14 +128,6 @@
       </testng>
    </target>
 
-   <!-- todo mmarkus add a paragraph in documentation to mntion about this-->
-   <!-- todo mmarkus add an sh and bat file to call this, which should also be present in the dist file -->
-   <target name="config2to3">
-      <echo message="${os.name}"/>
-      <xslt in="${source}" out="${destination}" style="resources/config2to3.xslt"/>
-   </target>
-   
-
    <target name="run.tests" depends="compile" description="run TestNG test cases.">
       <testng
             outputDir="${reports}"

Modified: core/trunk/src/main/resources/config-samples/buddy-replication.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-07-08 21:48:35 UTC (rev 6226)
+++ core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-07-08 21:54:14 UTC (rev 6227)
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-      <!-- todo mmarkus add comments to sample config files (after DTD is written) -->
-      <!-- todo mmarkus include the DTD file in all configs -->
-
 <jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="http://www.jboss.org/jbosscache/jbosscache-config-3.0.xsd">
    

Modified: core/trunk/src/test/resources/configs/buddy-replication-cache.xml
===================================================================
--- core/trunk/src/test/resources/configs/buddy-replication-cache.xml	2008-07-08 21:48:35 UTC (rev 6226)
+++ core/trunk/src/test/resources/configs/buddy-replication-cache.xml	2008-07-08 21:54:14 UTC (rev 6227)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-      <!-- todo mmarkus upload the schema on the jbosscache website -->
+
 <jbosscache  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="http://www.jboss.org/jbosscache/jbosscache-config-3.0.xsd">
    <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000"/>




More information about the jbosscache-commits mailing list