Public bug reported:

This was reported by Dana:

If inside a module you have a function signature like this:
declare function fn:map($f as function(item()) as item()*, $seq as item()*) as 
item()* external;

The XQDoc XML resulted is this:
<xqdoc:function arity="2">
  [...]
  <xqdoc:signature>declare function fn:map($f as , $seq as item()*) as item()* 
external</xqdoc:signature>
</xqdoc:function>

instead of this:
<xqdoc:function arity="2">
  [...]
  <xqdoc:signature>declare function fn:map($f as function(item()) as item()*, 
$seq as item()*) as item()* external</xqdoc:signature>
</xqdoc:function>

** Affects: zorba
     Importance: Medium
     Assignee: Sorin Marian Nasoi (sorin.marian.nasoi)
         Status: New

** Changed in: zorba
     Assignee: (unassigned) => Sorin Marian Nasoi (sorin.marian.nasoi)

** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
    Milestone: None => 2.1

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

Title:
  bug in the XQDoc visitor in Zorba

Status in Zorba - The XQuery Processor:
  New

Bug description:
  This was reported by Dana:

  If inside a module you have a function signature like this:
  declare function fn:map($f as function(item()) as item()*, $seq as item()*) 
as item()* external;

  The XQDoc XML resulted is this:
  <xqdoc:function arity="2">
    [...]
    <xqdoc:signature>declare function fn:map($f as , $seq as item()*) as 
item()* external</xqdoc:signature>
  </xqdoc:function>

  instead of this:
  <xqdoc:function arity="2">
    [...]
    <xqdoc:signature>declare function fn:map($f as function(item()) as item()*, 
$seq as item()*) as item()* external</xqdoc:signature>
  </xqdoc:function>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/874400/+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