Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #18896 Beautifier Changed the Value of the Certain elements
Submitted: 2011-10-09 02:37 UTC
From: subingeorge Assigned:
Status: Open Package: XML_Beautifier (version 1.2.2)
PHP Version: 5.3.8 OS: Windows &
Roadmaps: (Not assigned)    
Subscription  


 [2011-10-09 02:37 UTC] subingeorge (Subin George P)
Description: ------------ Hi Team, I am not quite not sure the reproduction of the bug. I found the issues, when i am beautifying a bigger XML files (60K+ lines after beautification). I found the issues many times, but for different elements each time. Issues found is beautifier is adding white space in the data values. I have got the issue mainly for URL , latitude and longitude elements. Note: This is NOT happening to all the elements. Its happening randomly. I am not sure to find the real issue. It's adding white space as following - 'htt p://yellow.co.ke/business/amuga-company/684' - 'http ://yellow.co.ke/business/murimi-co-advocates/1448' Also for Latitude longitudes Original': '36.8265' Expected ': '36.8265' Actual': '3 6.8265' Thanks In Advance Subin George P http://subin.me Test script: --------------- Part from my source XML ... <content><attributes><link>http://yellow.co.ke/business/t-m-mutunga-co/303</link><title>T M Mutunga & Co</title><author>YellowDigi</author><website>http://urt-to-the-page/subpage</website><date month="5" day="20" year="2010"/></attributes></content> Expected result: ---------------- <content> <attributes> <link>http://yellow.co.ke/business/t-m-mutunga-co/303</link> <title>T M Mutunga & Co</title> <author>YellowDigi</author> <website>http://urt-to-the-page/subpage</website> <date month="5" day="20" year="2010"/> </attributes> </content> Actual result: -------------- <content> <attributes> <link>http ://yellow.co.ke/business/t-m-mutunga-co/303</link> <title>T M Mutunga & Co</title> <author>YellowDigi</author> <website>http://urt-to-the-page/subpage</website> <date month="5" day="20" year="2010"/> </attributes> </content>

Comments