[ 
https://issues.apache.org/jira/browse/OFBIZ-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112444#comment-13112444
 ] 

Sascha Rodekamp commented on OFBIZ-4441:
----------------------------------------

Hi Kiran,
i also don't understand why this two places uses getLocalName(). Just to 
clarify, getLocalName returns null when the Element is created while the schema 
namespace 
processing is turned off.

So i think using getNodeName should work more reliable in this place.

I found a few other places where getLocalName could be replaced with 
getNodeName could you confirm?

Any opinions?

> UtilXml firstChildElement should use getNodeName instead of getLocalName
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-4441
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4441
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Kiran Gawde
>            Priority: Minor
>         Attachments: OFBIZ-4441-UtilXml.patch, 
> OFBIZ-4441_XmlElementGetNodeName.patch
>
>
> Two places UtilXml uses getNodeName instead of getLocalName. Rest of the 
> places it uses getNodeName

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to