OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Six Reasons Not to use XML Attributes

On 2 March 2012 14:51, Costello, Roger L. <costello@mitre.org> wrote:
> Hi Folks,
> 1.  XML attributes are specific to the XML data format. Other data formats,  such as
>    comma-separated values (CSV) and binary, don't have it. That is, taking a (element)
>    name with a (element) data value and then adding to that a (attribute) name/value
>    pair is specific to XML.

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

ℱin del ℳensaje.

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

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS