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

Re: XML Schema: "Best used with the ______ tool"

  • From: "James Fuller" <james.fuller.2007@g...>
  • To: "Boris Kolpackov" <boris@c...>
  • Date: Fri, 5 Dec 2008 09:47:57 +0100

Re:  XML Schema: "Best used with the ______ tool"
On Fri, Dec 5, 2008 at 9:23 AM, Boris Kolpackov <boris@c...> wrote:
> Hi Michael,
>
> Michael Kay <mike@s...> writes:
>
>> One other observation on this "benchmark":
>>
>> > Note how in the XQuery case I had to invent a delimiter (':')
>> > for the first, last, and age fields so that I could pass them
>> > as a string from XQuery to the programming language. I then
>> > had to manually parse this string and convert the age field
>> > to unsigned short. To me, this doesn't look easier than data
>> > binding at all.
>>
>> The idea I'm pushing is that you write the application end-to-end using
>> XML-based languages.
>
> That only works if all your inputs and outputs are in XML. In most
> real-world situations this won't be the case (I think by now people
> realize that XML is not a silver bullet but merely a data format that
> is ill-suited for many applications).

paraphrasing/borrowing from Churchill -- 'yes XML is the worst form of
data format, except all those other forms that have been tried.'

It is a fact that most errors in most forms of programming typically
occur wherever you are marshaling from one format to another (like
serializing objects). Also whenever there is a change in data
structure, this code tends to get revisited time and time again.

Having data be able to exist in code, in long term persistence and
over the wire in the same format has some pretty compelling effects,
though admittedly to the detriment of the format being specifically
good at any one thing; the upshot is that XML is a general data format
so whats your point ?

cheers, Jim Fuller


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