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

RE: Ten new XQuery, XSLT 2.0 and XPath 2.0 Working

  • To: "Dave Pawson" <dpawson@n...>,<xml-dev@l...>
  • Subject: RE: Ten new XQuery, XSLT 2.0 and XPath 2.0 Working
  • From: "Michael Rys" <mrys@m...>
  • Date: Fri, 9 May 2003 11:20:35 -0700
  • Thread-index: AcMWVBv/hSleBVA9TDSAxXDtKeffsgAAZgEw
  • Thread-topic: Ten new XQuery, XSLT 2.0 and XPath 2.0 Working

xpath xquery xslt
If you are satisfied with just "untyped" XML, then XPath/XQuery should
work fine. You get a weakly typed language that performs implicit
casting to the types you use and has default type promotion rules when
its built-in operators have only untyped values as its arguments.

Instead of complaining about the design at the "I don't like XSD, thus I
don't like XPath 2.0/XQuery 1.0"-level, I would recommend that you give
us feedback on the implementation of this principle. I am aware of one
bug so far that we work on related to the static typing option and
xs:anyType. More feedback on what you want to do but cannot do would be
appreciated.

One of my personal design goals is to have XPath/XQuery strongly typed
for typed instances and weakly typed for untyped instances and all work
inside the same language framework. I think we have done a pretty good
job at that given the constraints imposed on us by XSD and other design
goals [1]. 

And note that this makes the specification more complex, but the
language actually simpler to use if you constrain yourself to
infoset-only data.

Best regards
Michael

[1] Yeah, I know: I am biased and can't see beyond the Working group
anymore. Etc pp...

> -----Original Message-----
> From: Dave Pawson [mailto:dpawson@n...]
> Sent: Friday, May 09, 2003 10:55 AM
> To: Michael Rys; xml-dev@l...
> Subject: RE:  Ten new XQuery, XSLT 2.0 and XPath 2.0 Working
> 
> At 10:44 09/05/2003 -0700, Michael Rys wrote:
> >The data model also can be generated from just Infosets. The
instances
> >will be annotated with xdt:untypedAtomic for attribute values and
> >(currently) xs:anyType (soon xdt:untypedAny or similar) for element
> >content type.
> >
> >So if XSD goes down the drain (what does this mean anyway?)
> 
> Shrivels and dies through lack of use, or is overtaken by
> a schema that works.
> 
> >  XSLT and
> >XQuery still work on untyped data.
> 
> I remain to be convinced. I've only had a few hours with Saxon 7.4.
> 
> XSLT is my concern today.
>    I've no idea what xquery want..
> 
> 
> >And there is no reason why you cannot add your own built-in type
names
> 
> I really don't want to Michael.
>    The xslt+xpath1 'data model' is adequate for me.
> 
> regards DaveP
> 


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.