W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

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

From: <David.Pawson@rnib.org.uk>
Date: Fri, 16 May 2003 10:20:30 +0100
Message-ID: <9B66BBD37D5DD411B8CE00508B69700F049E17A4@pborolocal.rnib.org.uk>
To: public-qt-comments@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT