[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Tool development: by Perl-wrapped XQuery

David A. Lee dlee at calldei.com
Fri Sep 4 09:39:50 PDT 2009


  Tool development: by Perl-wrapped XQuery
>
> That's the downside of issuing specifications and waiting for the
> implementations to happen. Thank God XML does have a standard
> serialization, so any document can migrate from one implementation
> to another :-)
>
I wish that were true.  Its true for "Documents" but not for everything 
XML tools want to process and consume.
My current peeve is sequences.
There is *NO* standard representation of sequences period.  (please 
please tell me I'm wrong !)
A real example:
    toolA : produces a sequence of nodes
    toolB : accepts a sequence of nodes

There is no standard way of glueing these together in any language or 
serialization format that I know of.  Its all vendor specific.
And you cant even rely on the worse case of text serialization
. 
A typical part-solution/hack is to wrap the sequences in a document, 
then unwrap them on the target.  This works sometimes.
It fails miserably for things like sequences of attributes,  or even 
sequences of integers.



>
> Isn't .NET a solution to that problem?
>
It is a nice framework.  But someone still has to write all the pieces 
and agree to as common representation for all the data interfaces.
And the common .NET languages are about at the same level as Java ... 
although there is a windows .net scripting language I wouldn't call it 
"simple".
So I dont agree that .NET is a "solution".   Its a technology framework 
not a solution in itself.
Saxon has a great .NET binding (runs the JVM directly within .NET but 
exposes pure .NET interfaces).
But its at the same level of complexity to use as java and doesnt have 
*all* the pieces.  Its got lots, but not all.

I'd love to see a comprehensive XML tools framework in .NET which is 
actually as simple to use as scripting.  I think it could be done.
But to be 'really simple' , IMHO, would require a .NET implementation of 
a scripting syntax.

ruby.net anyone :) ?


-David

-- 
David A. Lee
http://x-query.com/mailman/listinfo/talk  
http://www.calldei.com
http://www.xmlsh.org
812-482-5224








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
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-2011 All Rights Reserved.