summaryrefslogtreecommitdiffstats
path: root/server/parser/xmlparser.c
Commit message (Collapse)AuthorAgeFilesLines
* server/parser: Add support EXSLT functions in XSLT templatesDavid Sommerseth2012-11-081-0/+5
| | | | Signed-off-by: David Sommerseth <davids@redhat.com>
* server/parser: Make sure the XSLT parameter array is always cleared before useDavid Sommerseth2012-11-081-1/+4
| | | | Signed-off-by: David Sommerseth <davids@redhat.com>
* server/parser: Added a simple string tokeniserDavid Sommerseth2012-11-081-0/+86
| | | | | | | This will be used to easier process an array of tables, where this array comes from a comma separated list in the configuration file. Signed-off-by: David Sommerseth <davids@redhat.com>
* Moved PostgreSQL related array function into pgsql.cDavid Sommerseth2011-10-071-53/+10
| | | | | | | | This is to put all PostgreSQL related functions in one place. Using the init_xmlparser() the function needed to format arrays are provided to the xmlparser code paths. Signed-off-by: David Sommerseth <davids@redhat.com>
* Introduce init_xmlparser() processDavid Sommerseth2011-10-071-0/+41
| | | | | | | This is the first step towards moving PostgreSQL specific parts out of xmlparser.c to make the xmlparser database backend agnostic. Signed-off-by: David Sommerseth <davids@redhat.com>
* Added support for PostgreSQL arrays + store cpu_topology CPU spread as an arrayDavid Sommerseth2011-10-071-4/+89
| | | | | | | | Implemented a new value type for the internal <sqldata/> XML format, which will store data in an PostgreSQL array. This is used now to store the CPU core spread of the socket in a sepearate field in rtevalruns_details. Signed-off-by: David Sommerseth <davids@redhat.com>
* Honour the 'isnull' attribute in <value/> tagsDavid Sommerseth2010-03-251-2/+7
|
* Added function to extract and parse the new //sqldata/@schemaver attributeDavid Sommerseth2009-12-081-0/+31
| | | | | | This attribute defines which version of the SQL database schema which is needed for the SQL data found in the <sqldata/> document. This is to avoid SQL failures when inserting data which the database is not prepared for.
* Fixed doxygen errorsDavid Sommerseth2009-10-221-0/+5
|
* Improved overall logging informationDavid Sommerseth2009-10-221-11/+13
|
* First cut at implementing a generic loggerDavid Sommerseth2009-10-211-26/+31
|
* Corrected missing or misleading doxygen commentsDavid Sommerseth2009-10-211-0/+10
|
* Extended rtevalruns table to contain a submid fieldDavid Sommerseth2009-10-211-1/+11
| | | | | This new field references submissionqueue.submid, to keep a link between parsed rtevalruns and the original submission.
* Added doxygen comments for xmlparser.[ch] and pgsql.cDavid Sommerseth2009-10-121-1/+83
|
* Note to self: it's more clever to use strdup_nullsafe() than strdup() ...David Sommerseth2009-10-121-1/+1
|
* Added sqldataGetHostInfo()David Sommerseth2009-10-121-0/+40
| | | | | | This function parses the input report XML through the xmlparser.xsl XSLT template. It returns hostname and IP address via the function arguments and an sqldata XML document as the return value. On errors, NULL is returned.
* Refactored sqldataGetFid() and sqldataGetValue() functionsDavid Sommerseth2009-10-121-9/+13
| | | | | | | | sqldataGetFid() now takes xmlNode instead of xmlDoc, and sqldataGetValue() takes field name instead of numeric field id (fid) to simpilfy the API. Fixed a double-free bug caused by a missing strdup() in sqldataValueHas().
* Added some more useful functions to xmlparserDavid Sommerseth2009-10-091-0/+149
|
* Added needed pieces to make the C based summary.xml parser workDavid Sommerseth2009-10-071-0/+107