[SPR-6017] a few more tweaks to how getLocalName is handled

This commit is contained in:
Rob Harrop
2009-09-14 10:43:04 +00:00
parent ee0a59d464
commit 7835e66abb
5 changed files with 20 additions and 12 deletions

View File

@@ -95,7 +95,7 @@ abstract class AbstractListenerContainerParser implements BeanDefinitionParser {
for (int i = 0; i < childNodes.getLength(); i++) {
Node child = childNodes.item(i);
if (child.getNodeType() == Node.ELEMENT_NODE) {
String localName = child.getLocalName();
String localName = parserContext.getDelegate().getLocalName(child);
if (LISTENER_ELEMENT.equals(localName)) {
parseListener((Element) child, element, parserContext);
}