+1 vote
Provide an official XML schema
(No Status) → Declined
There is an informative RELAX NG schema that describes the current xml file format, which you can use to learn about the xml file format.
It is however
impossible to code various accounting constraints in such an xml schema
(eg to enforce each transaction has a zero balance). For this reason it
is formally strongly discouraged to use any external tool to modify the
xml data, unless it does so via the GnuCash api.
So there is no incentive for the GnuCash developers to spend more effort on a more elaborate xml schema.
|
2 Kommentare:
Competely agree. Wanted to use your lib for simple web app to allow remotely post entries to my gnucash file, but unfortunately current version of xml is not supported by your lib last version (gdate is unknown tag).
Try the sourcecode.
Sounds like a situation that is already fixed in the extremely strict XML-schema.
But of cause there are many places and constellations with g:date and I specifically allow only constellations I have seen and know are correct data.
I can no longer maintain that code. Sorry.
Kommentar veröffentlichen