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

Re: Six Reasons Not to use XML Attributes

  • From: Alex Muir <alex.g.muir@gmail.com>
  • To: David Lee <dlee@calldei.com>
  • Date: Wed, 7 Mar 2012 20:34:29 +0000

Re:  Six Reasons Not to use XML Attributes
I feel like you 2 are talking about different things.

Maybe some examples will clear up what Tei oscar.vives@gmail.com was
making an example of in my thoughts.

Thanks

On Wed, Mar 7, 2012 at 1:23 PM, David Lee <dlee@calldei.com> wrote:
>> ..such as JSON.    Serializing XML data to JSON force the writter of
>> the converter to take decisions. Since JSON is javascript, you don't
>> have "attributes" for attributes (cough), you have attributes and his
>> value. So theres not a unique way to turn XML into JSON, and that is a
>> bad thing.
>>
>
> I agree this is annoying, but disagree its "bad".   The differences between XML and JSON go WAY beyond attributes.
> By the time you turn XML into a format which has only one interpretation in JSON you will have JSON.
> That means, to me, that yes its difficult and annoying having to convert between XML and JSON ... but it's  not a "bad thing".
> Any more then say converting from  Unicode to Ascii is "bad" or converting from Lisp to Prolog is "bad".
>
>
> ----------------------------------------
> David A. Lee
> dlee@calldei.com
> http://www.xmlsh.org
>
>



-- 
Alex Muir
Program Organizer - University Technology Student Work Experience Building
University of the Gambia
http://sites.utg.edu.gm/alex/

Come visit Gambia enjoy the sun and culture and help out! Software
Engineering Lecturers needed!
Join UTSWEB do local contract work or give a student a contract
remotely for slow, cheap and good work http://sites.utg.edu.gm/utsweb/

Some fantastic African/Canadian Fusion  http://bafila.bandcamp.com/


[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.