Ngewi Fet <nge...@gmail.com> writes: > On Thu, Nov 1, 2012 at 4:12 PM, Derek Atkins <warl...@mit.edu> wrote: > > John Ralls <jra...@ceridwen.us> writes: > > > Ngewi, > > > > You can use Trang (http://www.thaiopensource.com/relaxng/trang.html) to > convert an RNG schema to XSD. > > > > Thanks John, I'll check out the converter or just try to figure out RNG > > > > 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. > 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. -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 warl...@mit.edu PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel