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

Re: Re: Re: The Perils of Sudden Type-Safety in XPath

Subject: Re: Re: Re: The Perils of Sudden Type-Safety in XPath 2.0
From: "Kurt Cagle" <kurt@xxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 12:19:24 -0800
Re:  Re: Re: The Perils of Sudden Type-Safety in XPath
Michael,

> I think the suggestion that the date and time functions could go out of
> the core, and into a separate namespace, on the basis that they could be
> implemented in an XQuery or XSLT module, might be quite well received in
> some quarters - especially if you supplied an implementation! Some
> functions have already been removed from the core because it was argued
> that users could easily implement them themselves, and quite a few WG
> members are keen to reduce the size of the core library.

I'm heartened to hear this. I'll see what I can do on putting together such
an implementation; easier to do of course in XSLT2 than Xquery as there are
very few current reference implementations (if you know of one, PLEASE let
me know ... it'd make my work writing a book on the subject much easier!).
>
> I'm less convinced by the idea of separate modules for double, etc - I
> don't think we want to get to the point where every stylesheet starts
> with a standard set of 23 namespace declarations.

I provided this by way of example, though I'm inclined to agree that the
simple data-type functions would be better kept as core. I could see moving
all of these core functions into one of a maybe three modular namespaces:
numeric, string, and system (sequence and nodal functions and operators),
along with a mechanism that made it possible to default multiple namespaces
into the operating environment. This would work along the same lines
as -classpath in Java; i.e.,

import namespace 'http://www.w3.org/xquery/ns/system'
import namespace 'http://www.w3.org/xquery/ns/string'
import namespace 'http://www.w3.org/xquery/ns/numeric'

would automatically occur (and would likely be built in). I'll have to think
about it, but will try to get something shortly.

-- Kurt








> Michael Kay
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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