Hi Ashish,

It looks like you and Bilgin are going back and forth on this: 
http://svn.apache.org/viewvc?view=revision&revision=894359

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 9/09/2010, at 11:32 PM, [email protected] wrote:

> Author: ashish
> Date: Thu Sep  9 11:32:28 2010
> New Revision: 995384
> 
> URL: http://svn.apache.org/viewvc?rev=995384&view=rev
> Log:
> Fixing bug of reading node name. When we read first child element of the 
> response of any third party integration for example ups etc, node name can't 
> be read using "node.getLocalName()". So changing  node.getLocalName() --> 
> node.getNodeName(). 
> 
> Thanks Vivek for the contribution. 
> 
> Modified:
>    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java
> 
> Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java?rev=995384&r1=995383&r2=995384&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java (original)
> +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java Thu Sep  
> 9 11:32:28 2010
> @@ -803,7 +803,7 @@ public class UtilXml {
>         if (node != null) {
>             do {
>                 if (node.getNodeType() == Node.ELEMENT_NODE && 
> (childElementName == null ||
> -                        childElementName.equals(node.getLocalName()))) {
> +                        childElementName.equals(node.getNodeName()))) {
>                     Element childElement = (Element) node;
>                     return childElement;
>                 }
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to