Joose Vettenranta wrote:
Hi,
I was told that this might be a bug in cocoon.
Currently using cocoon 2.1.3
I have in cocoon.xconf:
<component-instance class="org.apache.cocoon.components.modules.input.XMLFileModule" logger="core.modules.xml" name="joose">
<file src="cocoon:/internal/config.xml" reloadable="true" cacheable="false" cache-xpaths="false" />
</component-instance>
in sitemap.xmap I have:
<map:match pattern="internal/config.xml"> <map:generate type="file" src="config/default.xml" /> <map:serialize type="xml" /> </map:match>
when first time read that config.xml file.. those values are stored. If I change that config/default.xml file to something else, old values are stil used. And even if I change that generate type="file" line, it still won't change values..
like .. <map:transform src="{joose:skin}.xsl" /> always loads the old skin, not the new changed one.
It's not going to change setting even if I push reload button like a maniac.
Joose,
Try CVS version of XMLFileModule. I think this issue is fixed already in the CVS.
Vadim
