[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Fixing what's broke

  • From: Max Toro <maxtoroq@gmail.com>
  • To: Pete Cordell <petexmldev@codalogic.com>
  • Date: Sat, 11 Dec 2010 21:52:39 -0300

Re:  Fixing what's broke
On Sat, Dec 11, 2010 at 12:54 PM, Pete Cordell <petexmldev@codalogic.com> wrote:
> Original Message From: "Max Toro"
>>
>> On Sat, Dec 11, 2010 at 11:48 AM, Pete Cordell  wrote:
>>>
>>> Original Message From: "Max Toro"
>>>>
>>>>> I've put in a number of posts what I think the benefits of the change
>>>>> are. I
>>>>> also think that in a mobile and wireless world, especially where we
>>>>> have
>>>>> small intelligent devices like body area networks, zigbee and, in the
>>>>> future, corn flake packets telling us when they're empty that we can't
>>>>> just
>>>>> assume that memory is free, and bandwidth unlimited.
>>>>>
>>>>> What do you see as the benefits of always insisting that everyone does
>>>>>
>>>>>
>>>>> <trajectory:initialVelocityVarianceCoefficient>1</trajectory:initialVelocityVarianceCoefficient>?
>>>>
>>>> application/x-www-form-urlencoded and JSON are more condensed
>>>> representations, if that's what you are looking for.
>>>> If you change XML to fit every possible use case it's going to make it
>>>> worse.
>>>
>>> Worse in what way?
>>
>> More complex to understand.
>
> I'm afraid I don't buy that.  It's always worth being aware of incremental
> complexity, but this is nothing compared to what you have to understand to
> write code these days.  If it saved you having to understand
> application/x-www-form-urlencoded and JSON as well then it's actually easier
> to understand.

Because to write code these days you need to understand a lot of
things then every little change that adds more complexity than actual
value should be avoided. Adding your closing tag proposal means there
would be more than one way to read and write a closing tag, when only
one way is required, and the long way is much more readable when you
read down and up. And more importantly, </> is not backwards
compatible.

If you need a more condensed format for data-centric documents why not
use a different representation, like JSON, which you can transform to
XML if you like to process with XML-aware tools. Or, if you want to
stick with XML you can use attributes.
--
Max Toro


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.