Null Account and more

Derek Atkins warlord at MIT.EDU
Fri Jul 23 12:11:49 EDT 2004


Perry Smith <pedz at easesoftware.net> writes:

> Sorry... Another question:
>
> The accounts with no name have:
>
>    <act:name/>
>
> Instead of what I would expect as:
>
>    <act:name></act:name>
>
> I'm not an XML buff so that may be correct.  If not, I'll look into
> that problem as well while I'm at it.

That's certainly legal XML...  It's a tag with no data.  What it sounds
like is happening is someone is creating the account but failing to set
the name (or, setting a NULL name).  This gets created during the import
process?  If so, it sounds like a bug in the importer.

The problem is that "make an account" is not an atomic operation at
the API level, so there's not a good API-level verification that all
the necessary elements are set.

-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