I'm not getting through (probably my fault). What I mean to say (ask/suggest) is that as a data representation XML seems to have only 2 advantages over some other reasonable binary format. These are that it is human readable and that it has been widely adopted as a standard (which brings with it loads of things as already built libraries in almost any language that can generate/read it, etc). And against it goes the fact that it seems to be monstrously inefficient if you consider size (that would be speed of transmission, storage efficiency, etc). I wanted to talk about these subjects and see if I was missing some other important points in these issues.
(see below). Stephen Russell wrote: > On Wed, Jan 14, 2009 at 7:04 PM, Ricardo Aráoz <[email protected]> wrote: > >>> XML works. XML is querryable and in a large document with many line >>> items in it this is an asset. It is not parceing a string for a >>> location. It works the node to see if this element hs children and if >>> what the parent is. >>> >>> >> And that would not be achievable/efficient because? (please let aside >> arguments in the line of XML being a standard, that is off target if we >> had a binary standard) >> > ------------------------------------------- > > What is your question? I state that XML is queryable. Your replay > says that it is because it is as standard. > You seemed to state that XML was queryable as an advantage of the format. I asked why wouldn't any binary format be queryable in order to disprove your affirmation. > > >>> XML is rotten for data storage is a broad statement. For some things >>> it is a great fit. >>> >> Yes, if you need a human readable format. Where Ed's arguments in favour >> of XML fit, nice for modifying by hand, nice for version control, etc. >> > --------------------------------------------------- > > OK, keeping the data in a readable format is one less step of > conversion for use. That is a speed issue. Not a keep the pointy > haired boss happy. Oh that was funny as well earier in the day. > It is not one less step unless you are just going to print that data. If for example you will have to process that data you will have to convert the non character fields to their proper data types, thus it is no advantage at all. > >>> I like XML data storage for a preset list, say your going to message >>> to a process to get a rate on " weather outside, ship this package >>> rate, current stock price,....." These are push and catch processing >>> in my mind. So I have a preset XML doc that is predefined for all >>> things "weather, shipping, stocks,.." and I put my relevant data for >>> my request. I pass that over to your system and you put into a >>> response doc what my answer is. I catch the answer and everything is >>> great. >>> >>> I don't have to care what your system is, just that our data in and >>> out is consistent. >>> >>> >>> >> And binary would be bad for this because? >> > ---------------------------------------- > > It doesn't exist yet except in a few home brewed situations. So from > my POV it is not for interacting with others. Means that I have to do > another conversion to and from that magical binary to another that > others want to use. > Yup, the old "it is a standard" argument. I'm looking for other relevant reasons, for advantages of the format considered as a format and irrespective of how wide it is used. > What I have been doing the past few years just seem to work with very > little tweaking. That being said I will look into the M$ priject and > try to figure out what they are/were doing. > That is because you have ready made libraries in your language of choice, and that comes from the fact that it is a widely accepted standard. But it says nothing of the virtues of the format per se. > > I have been coding for just over 20 years and before that I had a > carear as a chef. Young at heart is wear it's at from my POV, you can > do as you please. > BS! You can be "young at heart" when you have so many miles under your belt. For me life is a film, for a "young at heart" person life is a picture (he hasn't witnessed how it moves). My experience in life is behind every move I make, I'm long past innocence. So there is no way in hell I could be again "young at heart" (and I'm really happy with that). > Prayer works just ask the Jews. They have been doing it a long time > and they are still in Isreal. > LOL. So are the Palestinians in Gaza, and the Russians in Russia, and the French in France, and......... --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

