On Thu, 2006-03-30 at 14:25 -0500, Josh Sled wrote: > On Thu, 2006-03-30 at 14:13 -0500, David Hampton wrote: > > <gnc:count-data cd:type="commodity">161</gnc:count-data> > > > > Gnucash writes the <gnc:count-data> tag with an attribute named > > 'cd:type' but doesn't declare the 'cd' namespace. (The declaration of > > 'cd' that you see on line 6 of the data file is in the wrong scope.) > > What do you mean by "wrong scope"?
To be valid the tag needs be: <gnc:count-data xmlns:cd="http://www.gnucash.org/XML/cd" cd:type="commodity">161</gnc:count-data> >From what I've read its extremely uncommon to put attributes into a namespace, so this really should be just: <gnc:count-data type="commodity">161</gnc:count-data> but that would break compatibility with the 1.8 parsing code. David _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
