[ http://issues.apache.org/jira/browse/CONFIGURATION-230?page=comments#action_12442299 ] Oliver Heger commented on CONFIGURATION-230: --------------------------------------------
Do you have a code snippet (or even better a unit test) that demonstrates the problem? We need to expose the bug first, so that we can verify that it is resolved by the fix. Thanks. > XPathExpressionEngine nodeKey method create a wrong key for attribute node > -------------------------------------------------------------------------- > > Key: CONFIGURATION-230 > URL: http://issues.apache.org/jira/browse/CONFIGURATION-230 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 1.3 Final > Environment: Any > Reporter: Andy Yeung > > In org.apache.commons.configuration.tree.xpath.XPathExpressionEngine line 178 > if (node.isAttribute()) > { > buf.append(ATTR_DELIMITER); > } > should be changed to > if (node.isAttribute()) { > buf.append(NODE_PATH_DELIMITERS); > } > Using ATTR_DELIMITER will create key like [EMAIL PROTECTED] rather than > element/@attribute and make config reload fail. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]