I would prefer having a function annotation($name as xs:QName, $arity as
xs:integer) to return something as follows:

<QNameOfAnnotation><value>StringLiteral1</value><value>StringLiteral2</value><QNameOfAnnotation>

or

<annotation><name>QNameOfAnnotation</name><value>StringLiteral1</value><value>StringLiteral2</value><annotation>

-- 
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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to