Bugs item #2153484, was opened at 2008-10-08 18:41
Message generated for change (Settings changed) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2153484&group_id=56967

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: PF general
Group: Pathfinder 0.24
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Loredana Afanasiev (lafanasi)
>Assigned to: Lefteris Sidirourgos (lsidir)
Summary: XQ: string() and substring()

Initial Comment:
Hi,

These seem like small bugs.

1.
[EMAIL PROTECTED] ~]$ mclient -lx -s 'fn:string(<a><b/></a>/*)'

MAPI  = [EMAIL PROTECTED]:50000
QUERY = fn:string(<a><b/></a>/*)
ERROR = !fatal error: attribute 'pos' with type '0x4000' not found in 
environment

2.
[EMAIL PROTECTED] ~]$ mclient -lx -s 'let $doc := <a><b>bla</b></a> return 
fn:substring($doc/*, 1,1)'
"b"

[EMAIL PROTECTED] ~]$ mclient -lx -s 'let $doc := <a><b>bla</b></a> return 
fn:substring($doc/*, 1)'

MAPI  = [EMAIL PROTECTED]:50000
QUERY = let $doc := <a><b>bla</b></a> return fn:substring($doc/*, 1)
ERROR = !type error: no variant of function fn:substring accepts the given 
argument type(s): string?; integer
        !type error: maybe you meant:
        !type error:   fn:substring (string?, double) as string
        !type error:   fn:substring (string?, double, double) as string
        !type error: illegal arguments for function fn:substring

thanks,
l.

----------------------------------------------------------------------

>Comment By: Stefan Manegold (stmane)
Date: 2008-10-08 18:43

Message:
Lefteris,

could you please check, and get Jan involved, if necessary?

Thanks!
Stefan


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2153484&group_id=56967

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to