[Home] [By Thread] [By Date] [Recent Entries]
Hey Gurus, Let me put the question other way around. May I ask if the success of XML is attributed to its verbosity? Introducing terse but complex syntax like skipping/stripping end tags sound like 're-engineering' a traffic junction to have no lights and assuming everyone understands when to stop/move. You save on traffic lights, but your traffic slows down. We can always point people to a detailed manual instructing how to operate, but yeah, how many humans do that diligently. XML is for the general public. Let the humans do their job, and the parsers theirs. Ram 1. Tools help in minimizing the time required to crank out such verbose data. This has matured over the last few years. 2. Well designed and written XML is not visually challenging. 3. Equating terseness and simplicity is tricky. 4. In-memory representations can represent the same data in a more terse form Binary, Blah and what not! 5. With such a broad audience for its consumption, any new NextXML will bloat up gradually with requests and requirements. 6. Storage is getting cheaper [or am I dreaming?]. Let those tags come in! 7. [Joke] It depends on how you look at it. [Imagine yourself wearing "Red" lens glasses and staring at a "Green" light at a traffic junction!. Honk! Honk! behind you.] On 12/9/2010 12:22 PM, Pete Cordell wrote: > Original Message From: "Liam R E Quin" >>> So I'd suggest doing something like: >>> >>> <Book:Book> >>> <Book:Author>John Grisham</> >>> <Book:Title>The Case of the Hidden Claw</> >>> </Book:Book> >> >> Maybe I wasn't clear. Suppose I now write, >> <Book:Book> >> <Book:Title>John Grisham</> >> <Book:Author>The Case of the Hidden Claw</> >> </Book:Book> >> >> How are you going to detect my error? > > I'll confess it did take me a long tome to spot the error. However, I > tend to use Visual Studio to edit XML files. I imagine its at the > bottom of the food chain, but it does automatically put in the end tag > so I'm not sure I would have spotted the error from that. > > I would also like to believe that my schema would point the error out > to me. Please don't go disillusioning me about that :-) > > Pete Cordell > Codalogic Ltd > Interface XML to C++ the easy way using C++ XML > data binding to convert XSD schemas to C++ classes. > Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com > for more info > > > > > _______________________________________________________________________ > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > to support XML implementation and development. To minimize > spam in the archives, you must subscribe before posting. > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > Or unsubscribe: xml-dev-unsubscribe@l... > subscribe: xml-dev-subscribe@l... > List archive: http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



