This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5575 - fts:joinIncludes() func should return 'element(fst;stringInclude)?'
Summary: fts:joinIncludes() func should return 'element(fst;stringInclude)?'
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 16:50 UTC by zhen hua liu
Modified: 2008-03-17 21:35 UTC (History)
0 users

See Also:


Attachments

Description zhen hua liu 2008-03-14 16:50:57 UTC
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)*
{
Comment 1 Mary Holstege 2008-03-17 19:42:08 UTC
Agreed. Fixed as proposed.
Comment 2 zhen hua liu 2008-03-17 21:35:46 UTC
ok with resolution.