This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7376 - Expand extensions to Built-in Function Library
Summary: Expand extensions to Built-in Function Library
Status: RESOLVED LATER
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/TR/xquery-update-10...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 22:26 UTC by Justin Johansson
Modified: 2009-09-15 16:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Justin Johansson 2009-08-19 22:26:21 UTC
What consideration has been given to supporting the wider set of "RESTful" functions of which fn:put is but just one member?

fn:put seems a little isolated without a complementary fn:delete.

Ditto fn:post.

Justin Johansson
Comment 1 Michael Kay 2009-08-25 11:45:27 UTC
The XQuery 1.1 requirements document has this as a "maybe" requirement.

http://www.w3.org/TR/xquery-11-requirements/
(section 2.3.21)

A proposal has been produced by Tim Kraska:

http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2008Jun/att-0093/REST_for_XQuery_2008-06-18.pdf

(member-only URL)

I'm not sure of its current status.
Comment 2 John Snelson 2009-09-01 16:36:16 UTC
I think you misunderstand - fn:put() does not (necessarily) make an HTTP PUT request.
Comment 3 Justin Johansson 2009-09-01 18:25:28 UTC
Who mentioned HTTP?  "REST" is an architectural style.
See Chapter 5
http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm

The issue is about fn:put being but just one member of a potential wider set of related functions.

"This function is normally invoked to create a resource on an external storage system such as a file system or a database."

It's not unreasonable to expect to be able to add data to the resource, delete, rename it, manipulate its metadata etc.

Of course "REST" is itself just but one member of a potential wider set of architectural styles.
Comment 4 Jonathan Robie 2009-09-15 16:27:38 UTC
The WG decided not to add this to our work for 1.1, it's not on our requirements list, and we have not had significant demand. We suggest you consider contacting exquery.org in order to flesh this out sooner than the WG can.