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

typing and markup (was Re: XQuery types)


typing and markup (was Re:  XQuery types)
On Mon, 2002-05-06 at 14:57, Uche Ogbuji wrote:
> Because I assumed we were talking about utility for XML, not general
> purpose programming, I ommitted  the 25 pages it requires to discuss 
> the philosophy behind first-class dynamic typing without ambiguity.

This discussion's gotten me thinking once again about whether XML is
appropriate to the tasks for which it is being sold. There was a long
discussion about types here a few years ago in which someone suggested
that the types provided by DTDs were in fact far too rich, and that
perhaps CDATA/ID/IDREF was already more than enough.  Then we get into
W3C XML Schema types, which I consider far too overgrown, and now XQuery
is in the type mire.

I have to confess that I'm starting to wonder if the mismatch between
"business customer demands" and "markup's natural capabilities" isn't
likely to show more and more over time, and that adding more types to
the framework will add complexity rather than capability.  Every now and
then I peek in at the query-datamodel draft to see if there's good
reason to change my mind, and I can't say I've found anything promising.

Text in general seems much better at ambiguity than at specificity. 
Markup structures help, but I'm not particularly convinced that they
help that much.  Defining canonical lexical representations (and
transformations that avoid inflicting them on humans) seems like a
better route around this than defining types. 

Of course, as Truman Capote supposedly said of Jack Kerouac, "that's not
writing, that's typing."  (Note that I have most of Kerouac's books and
very deliberately zero of Capote.)

It's time to get back to work on Regular Fragmentations, I guess.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com


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.