getting an attribute of a xmlfilemodule returns
'org.apache.xerces.dom.AttrNSImpl' instead of a 'java.lang.String'
-------------------------------------------------------------------------------------------------------------------
Key: COCOON-2142
URL: https://issues.apache.org/jira/browse/COCOON-2142
Project: Cocoon
Issue Type: Bug
Components: * Cocoon Core
Affects Versions: 2.1.11-dev (Current SVN)
Reporter: christian planer
i have configured an xmlfilemodule in cocoon.xconf like this :
<component-instance
class="org.apache.cocoon.components.modules.input.XMLFileModule"
logger="core.modules.input" name="cms-props"
role="org.apache.cocoon.components.modules.input.XMLFileModule">
<file src="context://WEB-INF/cms.xconf"/>
<reloadable>true</reloadable>
<cacheable>false</cacheable>
</component-instance>
i try to access an an attribute from flowscript :
cmsProps.getAttribute("/cms/retouche/@maxPatternPerPage",null,null)
this line of code returns an 'org.apache.xerces.dom.AttrNSImpl' instead of a
'java.lang.String'
this happens only in cocoon-2.1.11-dev. in cocoon 2.1.10 a string is returned.
thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.