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

Re: Re: XPath incompatibilities

Subject: Re: Re: XPath incompatibilities
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 03 Jan 2002 17:50:39 +0100
Re:  Re: XPath incompatibilities
Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> wrote:
> I guess that one possibility that would help in the case of < would be
> to convert the nodes to whatever type they look like. If they look
> like numbers, treat them as numbers; if they look like dates, treat
> them as dates and so on.

I beg to disagree: is 02020202 a number or a date? It is better to
flag an error instead of trying to read minds. If some data is meant
to be a date, it is a good idea to have this expressed somewhere,
either in a type declaration in a schema, or by using explicit
conversion functions in the expression.
Explicit type conversions might also be good for optimizations.


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

Current Thread


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.
First Name
Last Name
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.