GnuCash XML spec

Ngewi Fet ngewif at gmail.com
Thu Nov 1 12:30:29 EDT 2012


On Thu, Nov 1, 2012 at 5:13 PM, Derek Atkins <warlord at mit.edu> wrote:

>
> >     > Gnucash-v2.rnc was contributed only a few months ago, so it's
> current.
> >     Whether or not it's complete or correct is another matter.
> >
> >     Note also that the rnc/xsd is NOT canonical..  It is informative
> only,
> >     and might change at any time.  GnuCash uses hand-build
> >     generators/parsers and does not use any schema files itself.  So
> YMMV.
> >
> > If I understand right, this means that only what is implemented in
> GnuCash is
> > the current spec? No other documentation cannot be relied upon to be
> factual?
>
> Correct.  The schema files are informative only.
>
>
Thanks for clearing that up!


> > Also, what is the policy of GnuCash towards manipulating the XML.
> Because I
> > remember that for the database, I once read something like "We do not
> support
> > modifications to the database from outside the GnuCash
> > API. ". http://gnucash.1415818.n4.nabble.com/
> > queries-on-mysql-tp3053682p3053871.html
> >
> > Is modifying the XML also actively discouraged?
>
> Yes.  All data 'writes' should only happen through the GnuCash API.
>

What if the said application cannot use the GnuCash C API?


>
> -derek
>
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord at MIT.EDU                        PGP key available
>


More information about the gnucash-devel mailing list