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

Re: terra incognita


ricko clark

XML is just a Comma Separated Values 
on steroids.

People do use Comma Separated Values for 
serialization and for import /export of everything, 
so I don't understand why can't we use XML as 
a serialization 'language'. 

It is true that at first glance YAML looks 
'better for serialization' than XML, because 
'YAML has been designed for serialization', 
Unfortunately,  it is not that simple.  

When making a decision about serialization, 
many things should be taken into account. 
For example, there is some subset of XML, which is 
supported by almost any tool ( namespaces are 
out of that subset ), so when  investing into another 
( perhaps better ) serialization format, one should 
estimate the number of tools he would need to rewrite.

What makes XML bad for serialization? I know it is 
not ideal, but I think it is good enough and when trying 
to look at the big picture ( tools, scalability, 
e t.c. ) to mee it looks better than any other 
alternative. What's JNI ? Java Native Interface ? 

As to YAML ... If YAML would get DOM, 
XPath, XSLT, Schema, support from all the big 
guys ( including MS ) , support from the press mafia 
e t.c.  - why not YAML? 

Rgds.Paul.

----- Original Message ----- 
From: "Rick Jelliffe" <ricko@a...>


From: "Clark C . Evans" <cce@c...>
 
> It is this domain, data serialization that I think XML 
> is sub-optimal. 

XML is not a data serialization language.  It is a markup
language, where text (i.e. words and sentences) can be annotated. 

People who have been sold XML as a data serialization language
should be aware that XML was not designed to allow round-tripping
of arbitrary strings. To send arbitrary strings, encode in a bin64
or adopt some more appropriate technology (JNI, YAML, etc).

Cheers
Rick Jelliffe


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>



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.