W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 14 Mar 2008 16:50:57 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JaD7R-0002ud-8o@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:36 UTC