Bugs item #2839593, was opened at 2009-08-18 16:47 Message generated for change (Comment added) made by shcheklein You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839593&group_id=129076
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Query Execution Group: Sedna (current) Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Justin Johansson (justinjohansson) >Assigned to: Ilya Taranov (mozinsur) Summary: fn:collection() function fails Initial Comment: Per http://www.w3.org/TR/xquery-operators/#func-collection, fn:collection may be called with zero arguments. However, the following query collection() fails with SEDNA Message: ERROR XPST0017 It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context. Details: http://www.w3.org/2005/xpath-functions:collection I'd suggest that both collection() and collection(()) should return the set of standalone documents in the Sedna database. Another possibility is that both of these could return the empty sequence, though that would be less useful. Perhaps this bug is best fixed alongside bug ID 2839389, document-uri function does not yield useful result, once a decision is made about a scheme for Sedna document URIs. Cheers Justin Johansson ---------------------------------------------------------------------- >Comment By: Ivan Shcheklein (shcheklein) Date: 2009-08-18 20:10 Message: Justin, thanks for this bug report also ). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839593&group_id=129076 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
