gnucash maint: Value "price" allowed in attr cd:type for element book (RELAX NG file)
John Ralls
jralls at code.gnucash.org
Fri Sep 2 14:07:06 EDT 2016
Updated via https://github.com/Gnucash/gnucash/commit/5d0b6b4f (commit)
from https://github.com/Gnucash/gnucash/commit/1cbbfa94 (commit)
commit 5d0b6b4f788ec60662c56beea4932792a9e65928
Author: Serge Gebhardt <serge.gebhardt at gmail.com>
Date: Fri Sep 2 17:59:29 2016 +0200
Value "price" allowed in attr cd:type for element book (RELAX NG file)
"price" is a legal value, as per code in [1]. Added value to RELAX NG
file to pass validation of modern gnucash files.
[1] https://github.com/Gnucash/gnucash/blob/51e29e7836af814868f51161cb3263465a5e951f/src/backend/xml/io-gncxml-v2.c#L1037
51e29e7836af814868f51161cb3263465a5e951f = current HEAD of branch maint
diff --git a/src/doc/xml/gnucash-v2.rnc b/src/doc/xml/gnucash-v2.rnc
index 57a3915..7a66c92 100644
--- a/src/doc/xml/gnucash-v2.rnc
+++ b/src/doc/xml/gnucash-v2.rnc
@@ -86,6 +86,7 @@ Book = element gnc:book {
element gnc:count-data { attribute cd:type { "transaction" }, xsd:int }?,
element gnc:count-data { attribute cd:type { "schedxaction" }, xsd:int }?,
element gnc:count-data { attribute cd:type { "budget" }, xsd:int }?,
+ element gnc:count-data { attribute cd:type { "price" }, xsd:int }?,
# plugins (those with a get_count slot)
Summary of changes:
src/doc/xml/gnucash-v2.rnc | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list