Update of /cvsroot/monetdb/pathfinder/compiler/xmlimport
In directory
sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv16577/compiler/xmlimport
Modified Files:
Tag: XQFT
xml2lalg.c
Log Message:
propagated changes of Tuesday Apr 13 2010 - Wednesday Apr 14 2010
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/04/13 - ts-tum: compiler/xmlimport/xml2lalg.c,1.45
-- Value-Attribute of Property-Node is optional now.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: xml2lalg.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg.c,v
retrieving revision 1.40.2.3
retrieving revision 1.40.2.4
diff -u -d -r1.40.2.3 -r1.40.2.4
--- xml2lalg.c 7 Jan 2010 16:04:23 -0000 1.40.2.3
+++ xml2lalg.c 14 Apr 2010 13:31:49 -0000 1.40.2.4
@@ -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