← Back to team overview

zorba-coders team mailing list archive

[Bug 897588] Re: Get annotation values from introspection/sctx

 

The following functions should be added:
declare function sctx:function-annotation($function-name as xs:QName, $arity as xs:integer, $annotation as xs:QName) as xs:anyAtomicType* external;
declare function sctx:variable-annotations($name as xs:QName) as xs:QName* external;
declare function sctx:variable-annotation($name as xs:QName, $annotation as xs:QName) as xs:anyAtomicType* external;

** Description changed:

- The following function should be added in the introspection/sctx module:
- declare function sctx:annotation-values($function-name as xs:QName, $arity as xs:integer, $annotation as xs:QName) as xs:anyAtomicType external;
+ The following functions should be added:
+ declare function sctx:function-annotation($function-name as xs:QName, $arity as xs:integer, $annotation as xs:QName) as xs:anyAtomicType* external;
+ declare function sctx:variable-annotations($name as xs:QName) as xs:QName* external;
+ declare function sctx:variable-annotation($name as xs:QName, $annotation as xs:QName) as xs:anyAtomicType* external;

** Changed in: zorba
     Assignee: (unassigned) => Nicolae Brinza (nbrinza)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/897588

Title:
  Get annotation values from introspection/sctx

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following functions should be added:
  declare function sctx:function-annotation($function-name as xs:QName, $arity as xs:integer, $annotation as xs:QName) as xs:anyAtomicType* external;
  declare function sctx:variable-annotations($name as xs:QName) as xs:QName* external;
  declare function sctx:variable-annotation($name as xs:QName, $annotation as xs:QName) as xs:anyAtomicType* external;

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/897588/+subscriptions


References