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

RE: Re: XPath 2.0: Problems with the two boolean const

Subject: RE: Re: XPath 2.0: Problems with the two boolean constants true and false
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 9 Oct 2003 12:49:40 +0100
RE:  Re: XPath 2.0: Problems with the two boolean const
> The problem is that the boolean value produced by the 
> template is assigned to an untyped variable (because the 
> instantiating code is generic and cannot know the type of 
> values produced by the template it instantiates).

This is the bit that I don't understand. You must know something about
the values produced by the code you are calling, otherwise the result is
meaningless to the caller. What isn't clear to me (though Jeni seems to
have divined it in her usual way...) is what kind of contract you want
to have between the calling code and the called code. Usually this
contract is expressed in terms of types; if you want to express it some
other way, then I would like to understand that.

Michael Kay


 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.