You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Kiran Gawde (JIRA)" <ji...@apache.org> on 2011/09/26 18:39:26 UTC

[jira] [Issue Comment Edited] (OFBIZ-4441) UtilXml firstChildElement should use getNodeName instead of getLocalName

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

Kiran Gawde edited comment on OFBIZ-4441 at 9/26/11 4:38 PM:
-------------------------------------------------------------

Hello Igor, 

Since you discovered this issue, any comments? 

Regards,
Kiran Gawde

      was (Author: kiran_gawde):
    Hello Igor, 

Since you discovered this issue, any comments? 

Regards,
Kiran Gawde

Senior Software Architect
Object Edge Inc
(925) 943 5558 x108

"There are two kind of people: Those who do the work and those who take 
the credit. Try to be in the first group because there is less competition 
there."
"Never give up on what you really want to do. The person with big dreams 
is more powerful than one with all the facts".

----- Forwarded by Kiran V Gawde/Object Edge on 09/22/2011 07:56 PM -----

From:   "Sascha Rodekamp (JIRA)" <ji...@apache.org>
To:     kiran@objectedge.com
Date:   09/22/2011 02:43 AM
Subject:        [jira] [Commented] (OFBIZ-4441) UtilXml firstChildElement 
should use getNodeName instead of getLocalName




    [ 
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?

OFBIZ-4441_XmlElementGetNodeName.patch
places it uses getNodeName

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

 

  
> 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