Re: [xml-dev] XML Schema: "Best used with the ______ tool"

From
Boris Kolpackov <>
To
Michael Kay <>
Date
2008-12-05T08:23:11Z
ID
<20081205082311.GB20354@karelia>
Thread
Re: [xml-dev] XML Schema: "Best used with the ______ tool"
Hi Michael,

Michael Kay <> 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).

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde