forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r325895 - /forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java
Date Mon, 17 Oct 2005 14:04:04 GMT
Author: rgardler
Date: Mon Oct 17 07:03:58 2005
New Revision: 325895

URL: http://svn.apache.org/viewcvs?rev=325895&view=rev
Log:
Correctly handle w3c-xml-schema rules (thanks to Josias Thoeny, Fixes FOR-710)

Modified:
    forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java

Modified: forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java?rev=325895&r1=325894&r2=325895&view=diff
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java (original)
+++ forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceType.java Mon Oct 17 07:03:58
2005
@@ -42,7 +42,7 @@
             else if (ruleConfs[i].getName().equals("processing-instruction"))
                 rule = new ProcessingInstructionRule();
             else if (ruleConfs[i].getName().equals("w3c-xml-schema"))
-                rule = new ProcessingInstructionRule();
+                rule = new XmlSchemaRule();
             else if (ruleConfs[i].getName().equals("document-element"))
                 rule = new DocumentElementRule();
             else



Mime
View raw message