jefft 2003/05/20 02:17:57
Modified: src/java/org/apache/cocoon/components/modules/input
XMLFileModule.java
Log:
Replace hack with a more sensible test.
Revision Changes Path
1.9 +4 -3
cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
Index: XMLFileModule.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XMLFileModule.java 19 May 2003 00:25:51 -0000 1.8
+++ XMLFileModule.java 20 May 2003 09:17:57 -0000 1.9
@@ -276,11 +276,12 @@
"missing 'file' child element at " +
modeConf.getLocation());
*/
+ } else {
+ hasDynamicConf = true;
}
- hasDynamicConf = true;
}
- if (hasDynamicConf && fileConf != null) {
+ if (hasDynamicConf) {
src = fileConf.getAttribute("src");
}