[Bug 5575] fts:joinIncludes() func should return 'element(fst;stringInclude)?'

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5575

           Summary: fts:joinIncludes() func should return
                    'element(fst;stringInclude)?'
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: zhen.liu@oracle.com
         QAContact: public-qt-comments@w3.org


The function fts:joinIncludes() is designed to return at most one
element of fst:stringInclude. Although it is OK for it to declare
 'element(fts:stringIncldue)*' as return value, however,
it is more appropriate for it
to be declared to return 'element(fts:stringInclude)?'. 

declare function fts:joinIncludes(
      $strIncls as element(fts:stringInclude)* )
   as element(fts:stringInclude)*
{

Received on Friday, 14 March 2008 16:51:29 UTC