OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

bpel4people message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [bpel4people] New Issue: Aggregation Functions Invoked with Empty Node-Set




Target:
   WS-HumanTask 1.1 CD 04 rev 2, section 6.2, second table: XPath functions
   for Result Aggregation.

Description:
   The aggregation function specifications do not describe the return value
   for the case where an empty node-set is passed.

Proposal:
   See inlined text in the table of aggregation functions below. As the
   color code may be lost during mail transmission, I also attached a
   document showing the changes.
   (See attached file: XPath Extension Functions.doc)
                                                                       
                               |                       |               
         concat                |  Returns the          |  In           
                               |  concatenation of all |               
                               |  string nodes -       |               
                               |  returns an empty     |     ·  node-set of string
                               |  string for an empty  |        nodes  
                               |  node-set             |               
       ------------------------+-----------------------+------------------------------
                               |                       |               
         concatWithDelimiter   |  Returns the          |  In           
                               |  concatenation of all |               
                               |  string nodes,        |               
                               |  separated by the     |     ·  node-set of string
                               |  specified delimiter  |        nodes  
                               |  string - returns an  |               
                               |  empty string for an  |               
                               |  empty node-set       |     ·  delimiter string
       ------------------------+-----------------------+------------------------------
                               |                       |               
         leastFrequentOccurenc |  Returns the least    |  In           
         e                     |  frequently occurring |               
                               |  string value within  |               
                               |  all string nodes, or |     ·  node-set of string
                               |  an empty string in   |        nodes  
                               |  case of a tie or for |               
                               |  an empty node-set    |               
       ------------------------+-----------------------+------------------------------
                               |                       |               
         mostFrequentOccurence |  Returns the most     |  In           
                               |  frequently occurring |               
                               |  string value within  |               
                               |  all string nodes, or |     ·  node-set of string
                               |  an empty string in   |        nodes  
                               |  case of a tie or for |               
                               |  an empty node-set    |               
       ------------------------+-----------------------+------------------------------
                               |                       |               
         voteOnString          |  Returns the most     |  In           
                               |  frequently occurring |               
                               |  string value if its  |               
                               |  occurrence is above  |     ·  node-set of string
                               |  the specified        |        nodes  
                               |  percentage and there |               
                               |  is no tie, or an     |               
                               |  empty string         |     ·  percentage value in
                               |  otherwise (including |        the range from 0 to
                               |  an empty node-set)   |        100    
       ------------------------+-----------------------+------------------------------
                               |                       |               
         and                   |  Returns the          |  In           
                               |  conjunction of all   |               
                               |  boolean nodes -      |               
                               |  returns false for an |     ·  node-set of boolean
                               |  empty node-set       |        nodes  
       ------------------------+-----------------------+------------------------------
                               |                       |               
         or                    |  Returns the          |  In           
                               |  disjunction of all   |               
                               |  boolean nodes -      |               
                               |  returns false for an |     ·  node-set of boolean
                               |  empty node-set       |        nodes  
       ------------------------+-----------------------+------------------------------
                               |                       |               
         vote                  |  Returns the most     |  In           
                               |  frequently occurring |               
                               |  boolean value if its |               
                               |  occurrence is above  |     ·  node-set of boolean
                               |  the specified        |        nodes  
                               |  percentage, or false |               
                               |  otherwise (including |               
                               |  an empty node-set)   |     ·  percentage value in
                               |                       |        the range from 0 to
                               |                       |        100    
       ------------------------+-----------------------+------------------------------
                               |                       |               
         avg                   |  Returns the average  |  In           
                               |  value of all number  |               
                               |  nodes - returns NaN  |               
                               |  for an empty         |     ·  node-set of number
                               |  node-set             |        nodes  
       ------------------------+-----------------------+------------------------------
                               |                       |               
         max                   |  Returns the maximum  |  In           
                               |  value of all number  |               
                               |  nodes - returns NaN  |               
                               |  for an empty         |     ·  node-set of number
                               |  node-set             |        nodes  
       ------------------------+-----------------------+------------------------------
                               |                       |               
         min                   |  Returns the minimum  |  In           
                               |  value of all number  |               
                               |  nodes - returns NaN  |               
                               |  for an empty         |     ·  node-set of number
                               |  node-set             |        nodes  
       ------------------------+-----------------------+------------------------------
                               |                       |               
         sum                   |  Returns the sum      |  In           
                               |  value of all number  |               
                               |  nodes - returns 0    |               
                               |  for for an empty     |     ·  node-set of number
                               |  node-set             |        nodes  
                                                                       




Kind Regards

Dieter König

Senior Technical Staff Member, WebSphere Process Server Architect
IBM Software Group, Application and Integration Middleware Software
WSS Business Process Solutions
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  Phone:            +49-7031-16-3426           IBM Deutschland                      (Embedded
                                                                                  image moved
                                                                                     to file:
                                                                                pic20647.gif)
                                                                       
  E-Mail:           dieterkoenig@de.ibm.com    Schönaicher Str. 220  
                                                                       
                                               71032 Böblingen       
                                                                       
                                               Germany                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  IBM Deutschland                                                      
  Research &                                                           
  Development                                                          
  GmbH /                                                               
  Vorsitzender des                                                     
  Aufsichtsrats:                                                       
  Martin Jetter                                                        
  Geschäftsführung:                                                
  Erich Baier                                                          
  Sitz der                                                             
  Gesellschaft:                                                        
  Böblingen /                                                        
  Registergericht:                                                     
  Amtsgericht                                                          
  Stuttgart, HRB                                                       
  243294                                                               
                                                                       

XPath Extension Functions.doc

pic20647.gif



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]