Index: C:/lenya/lenya-2.0-dev/src/modules-core/properties/java/src/org/apache/lenya/cms/cocoon/components/modules/input/PropertiesModule.java =================================================================== --- C:/lenya/lenya-2.0-dev/src/modules-core/properties/java/src/org/apache/lenya/cms/cocoon/components/modules/input/PropertiesModule.java (revision 611625) +++ C:/lenya/lenya-2.0-dev/src/modules-core/properties/java/src/org/apache/lenya/cms/cocoon/components/modules/input/PropertiesModule.java (working copy) @@ -289,14 +289,20 @@ return; } try { + // + // Maybe there should be a publication method to get the the base URI + // with context:// protocol? + // We need the context:// protocol, the lenya:// protocol which is + // returned by pub.getSourceURI() does not work here. filteringProperties = loadXMLPropertiesFromURI(filteringProperties, - PROPERTY_NAME, true); + "context://" + Publication.PUBLICATION_PREFIX_URI + "/" + pubId + + "/" + PROPERTY_NAME, true); + pubInit.add(pubId); } catch (IOException e) { - getLogger().warn("Could not load properties from pub \""+pubId+"\".\n"+e); + getLogger().warn("Could not load properties from pub \""+pubId+"\".\n"+e); } catch (Exception e) { throw new ConfigurationException(e.getMessage()); } - pubInit.add(pubId); } public void service(ServiceManager manager) throws ServiceException {