[ http://issues.apache.org/jira/browse/CONFIGURATION-230?page=all ]
Oliver Heger resolved CONFIGURATION-230. ---------------------------------------- Fix Version/s: Nightly Builds Resolution: Fixed Should be fixed in the next nightly build. Thanks for spotting this! > 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 > Assigned To: Oliver Heger > Fix For: Nightly Builds > > Attachments: ConfigTest.java, ConfigTest.java > > > 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]