Thanks for your comment Bilgin. We should discuss this issue in more details once you are back.
-- Ashish On Sat, Sep 11, 2010 at 12:56 PM, Bilgin Ibryam <[email protected]> wrote: > I have no access to eclıpse for one more week. Feel free to make changes ıf > needed. > > Bılgın > On Fri, Sep 10, 2010 at 8:01 AM, Ashish Vijaywargiya < > [email protected]> wrote: > >> Thanks Scott for your comment. >> Bilgin, can you please look into this issue and provide/propose better >> solution that works for both of us? >> >> -- >> Ashish >> >> On Fri, Sep 10, 2010 at 4:18 AM, Scott Gray <[email protected]> >> wrote: >> > 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; >> >> } >> >> >> >> >> > >> > >> >
