GnuCash XML Question

Dwight Frye dwight@openweave.org
Tue, 2 Oct 2001 16:01:08 -0400 (EDT)


I finally (by installing the Roswell beta RedHat release) got 
GnuCash to run. *whew*  One of the things I liked about the
1.6.x release was it's use of XML as a means of encoding the
data. I had "other things" I wanted to do with the data (the
details of which are not important) and had intended to write
a few small Java-based utilities to process the data.

I am using Java 1.3.1 and JAXP 1.1 on a Linux system. When I
try to parse the XML I get a complaint from the JAXP parser
complaining about the namespace prefixes. My understanding is
that the prefixes -should- have had a XML namespace definition
in the file associating them with a specific URI. In fact,
when I go hack the file manually and add the needed definitions
for things like "gnc:", "cd:", "act:", and all the rest ... it
parses fine.

If it matters, I'm running GnuCash 1.6.1 as was delivered on 
the RedHat Roswell beta distribution.

What am I missing here? Is there another mechanism (other than
by hacking the source data file itself) I can use to make my
parser happy? Any enlightenment would be welcome. :)

  -- Dwight