QSF XML file backend for gnucash-gnome2-dev branch

Derek Atkins warlord at MIT.EDU
Wed Jan 26 16:11:28 EST 2005


Neil Williams <linux at codehelp.co.uk> writes:

>> Then how do you differentiate the different kvp types?
>
> I'll get back to this next week - I'm planning on using a type="" attribute to 
> indicate frame, key or value.

Uh, you don't need to indicate frames.  Each entry needs a key, a
type, and a value.  E.g.:

   <kvp name="kvp_frame" path="/notes" type="string">These are my notes</kvp>

> Thereagain, you never now sometimes, you can think a problem won't solve and 
> then the solution just appears and it's done!

hehe.

> The patch is just being completed and should be with you tonight. I'm 
> currently waiting for a test build of the gnucash-gnome2-dev branch to 
> complete with the patch applied. Then it's just a case of verifying the 
> patch, updating the website and sending it in.
>
> :-)
>
> It includes all the changes we discussed, plus it includes new support for 
> QOF_TYPE_INT32, QOF_TYPE_DOUBLE, QOF_TYPE_CHAR and outline support for 
> QOF_TYPE_KVP which will be finalised next week. Every other type is already 
> supported - and tested what's more! 

Well, nothing uses QOF_TYPE_DOUBLE -- it's sort of there for
historical reasons but technically it should've already been
deprecated.  QOF_TYPE_CHAR is definitely important (reconcile flags,
etc.)

Glad you're making progress.  I'll look at the patch once it arrives,
assuming I have immediate time.  :)

-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