Update of /cvsroot/monetdb/pathfinder/tests/BugDay_2005-12-19_0.9.3/Tests
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8533/tests/BugDay_2005-12-19_0.9.3/Tests

Added Files:
        cast_as_anyNode.SF-1280519.xq.in 
        type_error_in_cast.SF-1281176.xq.in 
        type_error_in_function_resolution.SF-1274903.xq.in 
Removed Files:
        cast_as_anyNode.SF-1280519.prologue 
        cast_as_anyNode.SF-1280519.xq 
        type_error_in_cast.SF-1281176.prologue 
        type_error_in_cast.SF-1281176.xq 
        type_error_in_function_resolution.SF-1274903.prologue 
        type_error_in_function_resolution.SF-1274903.xq 
Log Message:
propagated changes of Wednesday Aug 01 2007 - Friday Aug 17 2007
from the XQuery_0-18 branch to the development trunk


--- cast_as_anyNode.SF-1280519.xq DELETED ---

--- type_error_in_cast.SF-1281176.prologue DELETED ---

--- NEW FILE: cast_as_anyNode.SF-1280519.xq.in ---
pf:add-doc("$TSTSRCDIR/test1280519.xml", "test1280519.xml")
<>
let $items := fn:subsequence(fn:doc("test1280519.xml")//Asset, 1, 100)
let $assets := for $item in $items return $item cast as xs:anyNode
let $albums := $assets/parent::*
for $album in $albums
  for $asset in $album/Asset
  where $asset/TrackNr = 1
  return <Result><Album> { $album/Title }
</Album><Track> { $asset/Title } </Track></Result>

--- type_error_in_function_resolution.SF-1274903.xq DELETED ---

--- cast_as_anyNode.SF-1280519.prologue DELETED ---

--- NEW FILE: type_error_in_function_resolution.SF-1274903.xq.in ---
pf:add-doc("$TSTSRCDIR/test1274903.xml", "big.xml")
<>
declare namespace local = "urn:local";
declare variable $db := doc("big.xml")/database;

declare function local:relations($ignore)
{
  for $r in $db/relation
  return $r
};

<html>{
  local:relations($db)
}</html>

--- type_error_in_cast.SF-1281176.xq DELETED ---

--- type_error_in_function_resolution.SF-1274903.prologue DELETED ---

--- NEW FILE: type_error_in_cast.SF-1281176.xq.in ---
pf:add-doc("$TSTSRCDIR/test1281176.xml", "test1281176.xml")
<>
let $a := doc("foo.xml") cast as xs:anyNode
return $a/bar


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to