Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31029/mal
Modified Files:
batxml.mx
Log Message:
Hooks for a few more functions that probably
are easiest the implement using libxml.
Index: batxml.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/batxml.mx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- batxml.mx 25 Aug 2007 13:38:02 -0000 1.10
+++ batxml.mx 25 Aug 2007 18:03:31 -0000 1.11
@@ -39,6 +39,14 @@
address BATXMLxml2str
comment "Cast the string to an xml compliant string";
+command xml.document(src:bat[:oid,:str]):bat[:oid,:xml]
+address BATXMLdocument
+comment "Parse the string as a document";
+
+command xml.content(src:bat[:oid,:str]):bat[:oid,:xml]
+address BATXMLcontent
+comment "Parse the string as a document";
+
command xml.tag(nme:str,val:bat[:oid,:xml]):bat[:oid,:xml]
address BATXMLtag
comment "Routine to put element brackets around an XML value";
@@ -148,6 +156,8 @@
batxml_export str BATXMLxml2str(int *ret, int *bid);
batxml_export str BATXMLstr2xml(int *x, int *s);
+batxml_export str BATXMLdocument(int *x, int *s);
+batxml_export str BATXMLcontent(int *x, int *s);
batxml_export str BATXMLisdocument(int *x, int *s);
batxml_export str BATXMLtag(int *x, str *name, int *s);
batxml_export str BATXMLoptions(int *x, str *name, str *options, int *s);
@@ -280,9 +290,27 @@
GDKfree(buf);
throw(MAL, "batstr.xml", "bunins failed");
}
+str
+BATXMLdocument(int *ret, int *bid)
+{
+/* ue libxml for validity checkes */
+ (void) ret;
+ (void) bid;
+ throw(MAL, "batstr.document", "Not yet implemented");
+}
+
+str
+BATXMLcontent(int *ret, int *bid)
+{
+ /* ue libxml for validity checkes */
+ (void) ret;
+ (void) bid;
+ throw(MAL, "batstr.content", "Not yet implemented");
+}
str
BATXMLisdocument(int *x, int *s){
+ /* ue libxml for validity checkes */
(void) x;
(void) s;
throw(MAL,"xml.isdocument","Not yet implemented");
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins