Re: [libreoffice-users] Re: Option to output the .ods underlying XML files auto formatted?
On 18/05/14 11:30, Urmas wrote: The XML files by LO are consisting of one long line deliberately to hamper interoperation with a certain well-known competitor products. As a marketing decision, it is unlikely to change. This has definitely not been a marketing decision. Marketing would have decided exactly the opposite, i.e. the highest interoperability level with competition. -- Italo Vignoli - italo.vign...@gmail.com mob IT +39.348.5653829 - mob EU +39.392.7481795 sip it...@libreoffice.org - skype italovignoli GPG Key ID - 0xAAB8D5C0 DB75 1534 3FD0 EA5F 56B5 FDA6 DE82 934C AAB8 D5C0 -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Re: Option to output the .ods underlying XML files auto formatted?
On Sun, 18 May 2014 16:30:24 +0700 Urmas davian...@gmail.com wrote: Jiergir Ogoerg: Is there any option in LibreOffice to make it generate _formatted_ underlying XML files? The XML files by LO are consisting of one long line deliberately to hamper interoperation with a certain well-known competitor products. As a marketing decision, it is unlikely to change. Having done my fair share of XML-based development a few years ago, for another FOSS project, I think I can say, with a fair degree of authority: That's utter bollocks. If that *were* true, it wouldn't speak very highly of said competitor's products' developers, since XML is, by its very definition, formatted. XML interpreters do not need carriage returns, line feeds, tabs, spaces and what-have-you. All those characters do, from a software standpoint, is unnecessarily bulk up a file. I had to work with unformatted XML. I quickly threw together a simple bit of code, using existing (also FOSS) XML libraries, to parse the lines and kick them out in more human-friendly-formatted output. It was not difficult. I doubt I bothered to format my XML output. I don't recall. Speaking of formatting, Urmas: Unlike XML parsers, humans *do* need proper visual formatting to quickly, easily and even properly interpret text. That being the case: Do you suppose it would it be possible for you to use an email client that knows how to quote quoted material in something resembling a traditional manner, or must we ever *guess* what's yours and what's somebody else's comments? Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at http://jimsun.LinxNet.com/contact/scform.php. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Re: Option to output the .ods underlying XML files auto formatted?
Italo Vignoli wrote: On 18/05/14 11:30, Urmas wrote: The XML files by LO are consisting of one long line deliberately to hamper interoperation with a certain well-known competitor products. As a marketing decision, it is unlikely to change. This has definitely not been a marketing decision. Marketing would have decided exactly the opposite, i.e. the highest interoperability level with competition. It's nonsense anyway. Software is just as capable of reading XML from a single long line or split over multiple lines. Formatting it on multiple lines with indentation just makes it easier for humans to read, but would make files larger and possibly slow down the process of reading and writing the files. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Re: Option to output the .ods underlying XML files auto formatted?
Jim Seymour wrote (18-05-14 14:05) Having done my fair share of XML-based development a few years ago, for another FOSS project, I think I can say, with a fair degree of authority: That's utter bollocks. [...] I had to work with unformatted XML. I quickly threw together a simple bit of code, using existing (also FOSS) XML libraries, to parse the lines and kick them out in more human-friendly-formatted output. It was not difficult. There was some option previously, must have been in Load/Save .. General, to choose between flat and 'formatted' XML. But indeed for reasons written by Jim (and maybe more), this choice has been removed. Cheers, -- Cor Nouws GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28 A038 E49D 7365 B134 80A6 - vrijwilliger http://nl.libreoffice.org - volunteer http://www.libreoffice.org - The Document Foundation Membership Committee Member -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted