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

Re: XPath 1.5? (was RE: typing and markup)


Re:  XPath 1.5? (was RE:  typing and markup)
At 09:51 AM 5/7/2002 -0400, Thomas B. Passin wrote:
>This is really the "it's a document" vs. "It's data" argument, isn't it?  If
>I'm creating an XML message to transport data from a database, then I want a
>date to be a date and not just a string.  If I'm marking up an article,
>everything is text.

[ !!! SNIP !!! ]

>The point is that there is room and need for both.  The real question is how
>to avoid extra complexity and large, slow programs for those users, like
>Simon and apparently Rusty (and, most of the time, me), who don't want to
>use typing capabilities.
>
>Does anyone see a way to have a typing mechanism in XPath/XSLT be in an
>optional layer?

In fact, datatypes are optional in XML schema, static typing will probably 
be optional in XQuery (there is a note in the XQuery document to that 
effect), and the operators of XQuery and XPath are all defined for untyped 
data as well as for typed data. I think that we have put a *lot* of work 
into making sure that our type system scales to typed data, untyped data, 
and mixtures of the two.

One of the reasons that I would like to bring this discussion to the level 
of real queries on real data is that I am not sure that everyone involved 
in the discussion actually knows how XQuery works.

Please, can we see some queries that cause problems, or things that are 
hard to say or do in XQuery?

Jonathan


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.