- From: <bugzilla@jessica.w3.org>
- Date: Tue, 29 Nov 2011 15:24:50 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14996 Summary: [FO30] function-lookup, function-arity, function-name Product: XPath / XQuery / XSLT Version: Member-only Editors Drafts Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: Functions and Operators 3.0 AssignedTo: mike@saxonica.com ReportedBy: tim@cbcl.co.uk QAContact: public-qt-comments@w3.org In WG meeting #491 (2011-11-15), it was decided that: DECISION: To close bug #14330 with the following resolution: 1. function items can refer to context-independent built-in functions 2. function items can not refer to context-dependent built-in functions 3. you can create an inline function to wrap a context-dependent built-in function Will referencing a context-dependent built-in function raise err:XPST0112, or will a new error be created? 16.1.1 fn:function-lookup The first example fn:function-lookup(xs:QName('fn:contains'), 2)('aa', 'a') makes a call to function-lookup which would return a context-dependent built-in function. This funciton will now need to raise a dynamic error (i.e. an error other than XPST0112). Note that the function doesn't currently handle the case of focus-dependent functions. 16.1.2 fn:function-name The first example The expression fn:function-name(fn:contains#2) returns fn:QName("http://www.w3.org/2005/xpath-functions", "fn:contains"). references a context-dependent built-in function. 16.1.3 fn:function-arity The first example The expression fn:function-arity(fn:contains#2) returns 2. references a context-dependent built-in function. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Tuesday, 29 November 2011 15:25:21 UTC