Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6814D106E4 for ; Wed, 5 Feb 2014 15:54:23 +0000 (UTC) Received: (qmail 29999 invoked by uid 500); 5 Feb 2014 15:54:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 29710 invoked by uid 500); 5 Feb 2014 15:54:09 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 29695 invoked by uid 99); 5 Feb 2014 15:54:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 15:54:09 +0000 Date: Wed, 5 Feb 2014 15:54:09 +0000 (UTC) From: "Shen liang (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CONFIGURATION-567) XMLBeanDeclaration.getNestedBeanDeclarations() doesn't escape the node name when query the child node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Shen liang created CONFIGURATION-567: ---------------------------------------- Summary: XMLBeanDeclaration.getNestedBeanDeclarations() doesn't escape the node name when query the child node Key: CONFIGURATION-567 URL: https://issues.apache.org/jira/browse/CONFIGURATION-567 Project: Commons Configuration Issue Type: Bug Components: Expression engine Affects Versions: 1.10 Reporter: Shen liang When query the nested bean declaration, the child name may contain the special character. So when call "HierarchicalConfiguration.configurationsAt()", the node name should be escaped by the expression engine first. {code:java} getConfiguration().getExpressionEngine().nodeKey(node,node.getParentNode().getName()) {code} {noformat} getNestedBeanDeclarations() ->nested.put(child.getName(), createBeanDeclaration(child)); ->List list = getConfiguration().configurationsAt(node.getName()); {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)