RE: TR/xquery-operators/#func-doc

MK said:

> > I dislike this change.
> > 
> > E.g. when moving from a workstation development to a server, 
> > the file location will need changing? Yes, it can be worked 
> > round. The elegance of document('') is now well known and of 
> > great utility.
> > 
> > Seems a bad decision to change it.
> > 
> 
> But we haven't changed it! Calling document("") in XSLT 2.0 
> works exactly
> the way it always did.

Quote:
http://www.w3.org/TR/xquery-operators/
The fn:document() function has been replaced by a much simpler function
called fn:doc().

Quote.
http://www.w3.org/TR/xslt20/  16.1

It [document()] has now been replaced in the core function library by the
much simpler doc function. The original document function therefore moves
back into the XSLT specification,


Confusing for the reader?
Assuming the document title is correct, 
"XQuery 1.0 and XPath 2.0 Functions and Operators,"
then I guess the doc() function will be available in xpath 2.0?
So users will have two functions 'nearly' doing the same thing.

I still think its a bad decision.

regards DaveP


- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

Received on Friday, 16 May 2003 05:20:59 UTC