Update of /cvsroot/monetdb/pathfinder/compiler/xmlimport
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3050/xmlimport
Modified Files:
Tag: XQuery_0-24
xml2lalg_converters.c
Log Message:
-- For the 1:1 function name printing make a distinction between different
variants.
-- Make the XML importer aware of a large part of the functions.
U xml2lalg_converters.c
Index: xml2lalg_converters.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg_converters.c,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -d -r1.13.2.1 -r1.13.2.2
--- xml2lalg_converters.c 28 May 2008 10:07:26 -0000 1.13.2.1
+++ xml2lalg_converters.c 31 May 2008 22:00:08 -0000 1.13.2.2
@@ -916,14 +916,70 @@
{
return alg_fun_fn_concat;
}
+ else if (strcmp(s, "fn:substring") == 0)
+ {
+ return alg_fun_fn_substring;
+ }
+ else if (strcmp(s, "fn:substring3") == 0)
+ {
+ return alg_fun_fn_substring_dbl;
+ }
+ else if (strcmp(s, "fn:string-length") == 0)
+ {
+ return alg_fun_fn_string_length;
+ }
+ else if (strcmp(s, "fn:normalize-space") == 0)
+ {
+ return alg_fun_fn_normalize_space;
+ }
+ else if (strcmp(s, "fn:upper-case") == 0)
+ {
+ return alg_fun_fn_upper_case;
+ }
+ else if (strcmp(s, "fn:lower-case") == 0)
+ {
+ return alg_fun_fn_lower_case;
+ }
+ else if (strcmp(s, "fn:translate") == 0)
+ {
+ return alg_fun_fn_translate;
+ }
else if (strcmp(s, "fn:contains") == 0)
{
return alg_fun_fn_contains;
}
+ else if (strcmp(s, "fn:starts-with") == 0)
+ {
+ return alg_fun_fn_starts_with;
+ }
+ else if (strcmp(s, "fn:ends-with") == 0)
+ {
+ return alg_fun_fn_ends_with;
+ }
+ else if (strcmp(s, "fn:substring-before") == 0)
+ {
+ return alg_fun_fn_substring_before;
+ }
+ else if (strcmp(s, "fn:substring-after") == 0)
+ {
+ return alg_fun_fn_substring_after;
+ }
+ else if (strcmp(s, "fn:matches") == 0)
+ {
+ return alg_fun_fn_matches;
+ }
+ else if (strcmp(s, "fn:replace") == 0)
+ {
+ return alg_fun_fn_replace;
+ }
else if (strcmp(s, "fn:number") == 0)
{
return alg_fun_fn_number;
}
+ else if (strcmp(s, "fn:QName") == 0)
+ {
+ return alg_fun_fn_qname;
+ }
else
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins