Bugs item #3425638, was opened at 2011-10-19 08:36
Message generated for change (Tracker Item Submitted) made by ruv
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: Query Execution
Group: Sedna (current&development)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ruvim (ruv)
Assigned to: Nobody/Anonymous (nobody)
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


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

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to