Update of /cvsroot/monetdb/pathfinder/compiler/semantics
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv30433/compiler/semantics
Modified Files:
Tag: XQuery_0-16
xquery_fo.c
Log Message:
- fixed bug in MIL epilogue after error (resulted in another error on "-")
- changed output of pf:collections() and pf:documents() info functions
to return nodes rather thanm strings
- introduced new convenience builtin pf:mil()
Index: xquery_fo.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/xquery_fo.c,v
retrieving revision 1.100.2.2
retrieving revision 1.100.2.3
diff -u -d -r1.100.2.2 -r1.100.2.3
--- xquery_fo.c 1 Feb 2007 18:40:11 -0000 1.100.2.2
+++ xquery_fo.c 11 Feb 2007 11:43:47 -0000 1.100.2.3
@@ -1732,24 +1732,24 @@
.arity = 2, .sig_count = 1, .sigs = { {
.par_ty = (PFty_t[]) { PFty_xs_anyNode (), PFty_xs_string () },
.ret_ty = PFty_stmt () } } }
- , /* pf:documents () as string* */
+ , /* pf:documents () as element()* */
{ .ns = PFns_lib, .loc = "documents",
.arity = 0, .sig_count = 1, .sigs = { {
- .ret_ty = PFty_star( PFty_xs_string ()) } } }
- , /* pf:documents (string*) as string* */
+ .ret_ty = PFty_star( PFty_xs_anyElement ()) } } }
+ , /* pf:documents (string*) as element()* */
{ .ns = PFns_lib, .loc = "documents",
.arity = 1, .sig_count = 1, .sigs = { {
.par_ty = (PFty_t[]) { PFty_star( PFty_xs_string ()) },
- .ret_ty = PFty_star( PFty_xs_string ()) } } }
+ .ret_ty = PFty_star( PFty_xs_anyElement ()) } } }
, /* pf:collection (string) as node */
{ .ns = PFns_lib, .loc = "collection",
.arity = 1, .sig_count = 1, .sigs = { {
.par_ty = (PFty_t[]) { PFty_xs_string () },
.ret_ty = PFty_xs_anyNode () } } }
- , /* pf:collections () as string* */
+ , /* pf:collections () as element()* */
{ .ns = PFns_lib, .loc = "collections",
.arity = 0, .sig_count = 1, .sigs = { {
- .ret_ty = PFty_star( PFty_xs_string ()) } } }
+ .ret_ty = PFty_star( PFty_xs_anyElement ()) } } }
, /* pf:add-doc (string, string) as docmgmt */
{ .ns = PFns_lib, .loc = "add-doc",
.arity = 2, .sig_count = 1, .sigs = { {
@@ -1783,6 +1783,11 @@
.arity = 1, .sig_count = 1, .sigs = { {
.par_ty = (PFty_t[]) { PFty_xs_string () },
.ret_ty = PFty_docmgmt () } } }
+ , /* pf:mil (string) as item* */
+ { .ns = PFns_lib, .loc = "mil",
+ .arity = 1, .sig_count = 1, .sigs = { {
+ .par_ty = (PFty_t[]) { PFty_xs_string () },
+ .ret_ty = PFty_star( PFty_item ()) } } }
, /* pf:nid (xs:element) as string */
{ .ns = PFns_lib, .loc = "nid",
.arity = 1, .sig_count = 1, .sigs = { {
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins