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

Re: XPath 3.0 question: What are function annotations?

Subject: Re: XPath 3.0 question: What are function annotations?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 2 Mar 2014 16:13:57 +0000
Re:  XPath 3.0 question: What are function annotations?
On 1 Mar 2014, at 23:26, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:

> In the XPath 3.0 Proposed Recommendation, section, 3.1.5.3 "Function
> Coercion", http://www.w3.org/TR/xpath-30/#id-function-coercion
>
> describes the properties of the function returned by the coercion ...
>
> My question is: What are function annotations and why they are nowhere
> defined in the document?
>

Function annotations are defined in the Data Model spec as part of the
signature of a function value:

http://www.w3.org/TR/xpath-datamodel-30/#function-items

The data model spec also mentions that for XPath the annotations will always
be an empty set.

This is consistent with the statement in the XPath section on function
coercion which states that the annotations in the result function are the same
as the annotations in the input function.

So there's not actually a technical error in the spec; it's just not as
helpful as it might be.

Michael Kay
Saxonica

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.