[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] XML Schema: "Best used with the ______ tool"
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Boris Kolpackov'" <boris@codesynthesis.com>
- Date: Thu, 4 Dec 2008 11:24:48 -0000
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 means that you never convert the data into C++ or
Java data types. If you only go half way, by calling XQuery from Java and
then converting the results to Java values, you lose half the benefits.
Michael Kay
http://www.saxonica.com/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]