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

Use of fictitious types in the F & O spec considered

Subject: Use of fictitious types in the F & O spec considered unsatisfactory
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 15 Jan 2005 22:14:04 +1100
fictitious use
The use of the so called "numeric" type in defining the op:numericXXX
operators in the Functions and Opertors spec results in unwanted
confusion and complexity of the document.

Firstly, it uses an undefined type.

Secondly, this results in a special rule that some "system" functions
and operators *only* can have overloads with the same number of
arguments.

The solution is obvious: define the type "numeric" and support it as a
builtin type. This is not unprecedented, as we already have such types
as xdt:anyAtomicType and xdt:untypedAtomic

I propose that there should be an xdt:numeric defined builtin type in
Xpath 2.0. This may also unify and make more simple or intuitive the
rules for conversion between different numeric types.


Cheers,

Dimitre Novatchev.

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.