[ https://issues.apache.org/jira/browse/OFBIZ-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113302#comment-13113302 ]
i...@objectedge.com commented on OFBIZ-4441: -------------------------------------------- Makes sense to me. Hard to believe such a simple scenario has not happen to anyone though. -----Kiran V Gawde/Object Edge wrote: -----To: Igor Abramovich/Object Edge From: Kiran V Gawde/Object Edge Date: 09/22/2011 11:01PM Cc: "Sascha Rodekamp (JIRA)" <j...@apache.org> Subject: Fw: [jira] [Commented] (OFBIZ-4441) UtilXml firstChildElement should use getNodeName instead of getLocalName 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)" <j...@apache.org> To: ki...@objectedge.com Date: 09/22/2011 02:43 AM Subject: [jira] [Commented] (OFBIZ-4441) UtilXml firstChildElement should use getNodeName instead of getLocalName [ [1]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? -- This message is automatically generated by JIRA. For more information on JIRA, see: [3]http://www.atlassian.com/software/jira This email message (including any attachments) is for the sole use of the intended recipient and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you ---------------------------------------------------------------------------------------- [1] https://issues.apache.org/jira/browse/OFBIZ-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112444#comment-13112444 [2] https://issues.apache.org/jira/browse/OFBIZ-4441 [3] 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