dgraham 2003/03/11 22:06:46
Modified: validator/src/share/org/apache/commons/validator
ValidatorResourcesInitializer.java
Log:
Register both 1.0 and 1.0.1 dtds. PR #17470.
Revision Changes Path
1.12 +8 -6
jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorResourcesInitializer.java
Index: ValidatorResourcesInitializer.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorResourcesInitializer.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ValidatorResourcesInitializer.java 20 Jan 2003 06:15:06 -0000 1.11
+++ ValidatorResourcesInitializer.java 12 Mar 2003 06:06:46 -0000 1.12
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -94,8 +94,10 @@
* <strong>MUST</strong> be an even number of Strings in this list!
*/
protected static String registrations[] = {
+ "-//Apache Software Foundation//DTD Commons Validator Rules Configuration
1.0//EN",
+ "/org/apache/commons/validator/resources/validator_1_0.dtd",
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration
1.0.1//EN",
- "/org/apache/commons/validator/resources/validator_1_0_1.dtd"
+ "/org/apache/commons/validator/resources/validator_1_0_1.dtd"
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]