[Gnucash-changes] r13105 - gnucash/trunk - Emit all used namespaces; add XML datafile schema.

Josh Sled jsled at asynchronous.org
Sun Feb 5 15:01:13 EST 2006


On Sun, 2006-02-05 at 14:37 -0500, Mike Alexander wrote:

> When I added these (and a catalog to map the URI to the DTD), Epic 
> found the DTD, but it complained about a number of errors in it.  I 
> haven't tracked them down yet.

Which DTD?  If it's one(s) from the gnucash source tree, it's likely out
of date and unmaintained.  Chris's message was regarding validating the
datafile using the schema at
http://svn.gnucash.org/trac/browser/gnucash/trunk/src/doc/xml/gnucash-v2.rnc .  
If you prefer XSD, trang [1] can be used to convert; I might eventually
setup a Makefile rule to do so (conditionally, as it's a somewhat
obscure dep).

I'd love feedback on validation failures against the schema, even if
it's non-normative and we don't use it while emitting the datafile
presently.  There've been multiple requests for a datafile schema, so
it'd be nice to have one.

[1] http://www.thaiopensource.com/relaxng/trang.html

-- 
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`


More information about the gnucash-devel mailing list