Bugs item #3425638, was opened at 2011-10-19 08:36
Message generated for change (Comment added) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3425638&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: Parser
Group: Sedna (current&development)
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: ruvim (ruv)
Assigned to: Alexander Kalinin (allexk)
Summary: ERROR XPTY0019

Initial Comment:
I have faced a strange behavior  (Sedna 3.4, 3.5.60).

The following query works as expecting:

let $t := <list><i n="10"/><i n="3"/></list>
let $t := $t/i
for $i  in $t/@n 
return
  for $i  in $t/@n 
  return $i

The following version  (with 'order by'):
let $t := <list><i n="10"/><i n="3"/></list>
let $t := $t/i
for $i  in $t/@n 
order by number($i)
return
  for $i  in $t/@n 
  return $i

produces error
SEDNA Message: ERROR XPTY0019
It is a type error if the result of a step (other than the last step) in a path 
expression contains an atomic value.
Details: at (6:17), filter step contains atomic in position 1
Query line: 6, column:17


The following version:
let $t := <list><i n="10"/><i n="3"/></list>
let $t := $t/i
for $i  in $t/@n 
order by number($i)
return
  for $i  in $t
  return $i

produces
SEDNA Message: ERROR SE1003
Sedna internal error.
Details: Unexpected XML Schema simple type passed to is_derived

event.log contains
ERROR 18/10/2011 21:26:09 (TRN cnm pid=2804 sid=42 trid=49) 
[SequenceType.cpp:is_derived:79]: (SE1003) Sedna internal error. Details: 
Unexpected XML Schema simple type passed to is_derived


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

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2011-10-22 03:02

Message:
Fixed in the latest development build:

http://modis.ispras.ru/FTPContent/sedna/development/

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

Comment By: Ivan Shcheklein (shcheklein)
Date: 2011-10-19 12:24

Message:
Reproducible on Sedna 3.4.66 and Sedna 3.5 RC with different results:

on Sedna 3.4.66 returns:

P?Z
P?Z


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3425638&group_id=129076

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to