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

Re: use-when attribute?

Subject: Re: use-when attribute?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 17 Dec 2004 09:37:59 +0000
Re:  use-when attribute?
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:

    Michael> Actually, the spec says that in the dynamic context for
    Michael> the use-when expression, "available documents" is empty,
    Michael> which means that fn:doc() should always return an error
    Michael> "document not found".

Oh yes.
I thought it was odd that doc(0 should be allowed and not document()!

    Michael> But it looks as if neither of the two existing
    Michael> implementations (mine will be out shortly!) impose that
    Michael> restriction.

No. Mine adheres to all the restrictions (until someone shows me
otherwise).
I just forgot about it when writing the message.
-- 
Colin Paul Adams
Preston Lancashire

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.