r20117 - gnucash/trunk/src/backend/xml - Bug #638225: Author Jim Radford. KVP lists are ordered so should not be sorted
John Ralls
jralls at code.gnucash.org
Mon Jan 17 11:55:40 EST 2011
Author: jralls
Date: 2011-01-17 11:55:39 -0500 (Mon, 17 Jan 2011)
New Revision: 20117
Trac: http://svn.gnucash.org/trac/changeset/20117
Modified:
gnucash/trunk/src/backend/xml/sixtp-dom-generators.c
gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95bank_fr.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95invst.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95mutual.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95stocks.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/abc.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/abcall.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/carols-data-file.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/cbb-export.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/conrads-file.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/every.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/goonies-file.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/hierachical-data-file.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/ms-money.gml2
gnucash/trunk/src/backend/xml/test/test-files/xml2/pricedb1.gml2
gnucash/trunk/src/backend/xml/test/test-xml-transaction.c
Log:
Bug #638225: Author Jim Radford. KVP lists are ordered so should not be sorted
Modified: gnucash/trunk/src/backend/xml/sixtp-dom-generators.c
===================================================================
--- gnucash/trunk/src/backend/xml/sixtp-dom-generators.c 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/sixtp-dom-generators.c 2011-01-17 16:55:39 UTC (rev 20117)
@@ -334,15 +334,13 @@
case KVP_TYPE_GLIST:
{
GList *cursor;
- GList *sorted = g_list_sort(g_list_copy(kvp_value_get_glist(val)), (GCompareFunc)strcmp);
xmlSetProp(val_node, BAD_CAST "type", BAD_CAST "list");
- for (cursor = sorted; cursor; cursor = cursor->next)
+ for (cursor = kvp_value_get_glist(val); cursor; cursor = cursor->next)
{
kvp_value *val = (kvp_value*)cursor->data;
add_kvp_value_node(val_node, "slot:value", val);
}
- g_list_free(sorted);
}
break;
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95bank_fr.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95bank_fr.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95bank_fr.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95invst.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95invst.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95invst.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95mutual.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95mutual.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95mutual.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95stocks.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95stocks.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/Money95stocks.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/abc.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/abc.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/abc.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/abcall.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/abcall.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/abcall.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/carols-data-file.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/carols-data-file.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/carols-data-file.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/cbb-export.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/cbb-export.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/cbb-export.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/conrads-file.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/conrads-file.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/conrads-file.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/every.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/every.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/every.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/goonies-file.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/goonies-file.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/goonies-file.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/hierachical-data-file.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/hierachical-data-file.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/hierachical-data-file.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/ms-money.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/ms-money.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/ms-money.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-files/xml2/pricedb1.gml2
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-files/xml2/pricedb1.gml2 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-files/xml2/pricedb1.gml2 2011-01-17 16:55:39 UTC (rev 20117)
@@ -15,19 +15,19 @@
xmlns:bgt="http://www.gnucash.org/XML/bgt"
xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
xmlns:lot="http://www.gnucash.org/XML/lot"
- xmlns:job="http://www.gnucash.org/XML/job"
- xmlns:invoice="http://www.gnucash.org/XML/invoice"
xmlns:addr="http://www.gnucash.org/XML/addr"
- xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:billterm="http://www.gnucash.org/XML/billterm"
xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
xmlns:tte="http://www.gnucash.org/XML/tte"
- xmlns:order="http://www.gnucash.org/XML/order"
- xmlns:employee="http://www.gnucash.org/XML/employee"
- xmlns:entry="http://www.gnucash.org/XML/entry"
- xmlns:owner="http://www.gnucash.org/XML/owner"
xmlns:vendor="http://www.gnucash.org/XML/vendor">
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
Modified: gnucash/trunk/src/backend/xml/test/test-xml-transaction.c
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-xml-transaction.c 2011-01-16 21:10:05 UTC (rev 20116)
+++ gnucash/trunk/src/backend/xml/test/test-xml-transaction.c 2011-01-17 16:55:39 UTC (rev 20117)
@@ -349,6 +349,7 @@
{
Transaction *trans = data;
tran_data *gdata = (tran_data*)globaldata;
+ gboolean retval = TRUE;
xaccTransBeginEdit (trans);
xaccTransSetCurrency (trans, gdata->com);
@@ -358,11 +359,11 @@
"gnc_transaction_sixtp_parser_create",
__FILE__, __LINE__,
"%d", gdata->value))
- return FALSE;
+ retval = FALSE;
gdata->new_trn = trans;
- return TRUE;
+ return retval;
}
static void
More information about the gnucash-changes
mailing list