Update of /cvsroot/monetdb/pathfinder/compiler/xmlimport
In directory
sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv6812/compiler/xmlimport
Modified Files:
xml2lalg.c
Log Message:
-- Value-Attribute of Property-Node is optional now.
Index: xml2lalg.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- xml2lalg.c 7 Jan 2010 15:24:28 -0000 1.44
+++ xml2lalg.c 13 Apr 2010 12:06:58 -0000 1.45
@@ -3013,9 +3013,10 @@
char* name = PFstrdup(
PFxml2la_xpath_getAttributeValueFromElementNode(
nodePtr, "name"));
- char* value = PFstrdup(
-
PFxml2la_xpath_getAttributeValueFromElementNode(
- nodePtr, "value"));
+
+ char* valueXML = PFxml2la_xpath_getAttributeValueFromElementNode(
+ nodePtr, "value");
+ char* value = valueXML != NULL ? PFstrdup(valueXML) : NULL;
PFarray_t* properties = NULL;
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins