GnuCash
Contact   Instructions
Bug 798089 - Starting "Tutorial and Concepts Guide" writes namespace error to console
Summary: Starting "Tutorial and Concepts Guide" writes namespace error to console
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Guide (show other bugs)
Version: 4.x
Hardware: PC Linux
: Normal trivial
Target Milestone: ---
Assignee: documentation
QA Contact: documentation
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-18 14:46 EST by runlevel3
Modified: 2021-01-19 03:55 EST (History)
3 users (show)

See Also:


Attachments

Description runlevel3 2021-01-18 14:46:58 EST
Steps to reproduce:

1. Start gnucash from a terminal ($ gnucash)
2. Press CTRL+H to open the "GnuCash Tutorial and Concepts Guide"
3. Observe the following is written to the terminal:

/usr/share/gnome/help/gnucash-guide/C/ch_basics.xml:1508: namespace error : Namespace prefix xi on include is not defined
<xi:include href="ch_accts.xml" />
                                ^
/usr/share/gnome/help/gnucash-guide/C/ch_basics.xml:1509: namespace error : Namespace prefix xi on include is not defined
<xi:include href="ch_txns.xml" />
                               ^
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux bullseye/sid
Release:	testing
Codename:	bullseye

$ dpkg -l | grep gnucash
ii  gnucash                               1:4.4-1                         amd64        personal and small-business financial-accounting software
ii  gnucash-common                        1:4.4-1                         all          common files for the financial-accounting software Gnucash
ii  gnucash-docs                          4.4-1                           all          Documentation for gnucash, a personal finance tracking program
ii  python3-gnucash                       1:4.4-1                         amd64        Gnucash interface for Python

Note that gnucash was run with the X display tunneled over SSH.
Comment 1 Frank H. Ellenberger 2021-01-19 00:31:32 EST
Interesting…
We use https://www.w3.org/TR/xinclude-11/ since years. It is usually part of libxml2.

Did debian split it in subpackages?
Comment 2 John Ralls 2021-01-19 00:58:48 EST
@fellen, The only answer to https://stackoverflow.com/questions/14542030/namespace-for-xinclude-included-elements claims that namespace scope does *not* reach into xincluded files. If that's correct the xmlns:xi attribute on <book> in gnucash-guide.xml isn't sufficient for the xincludes in ch_basics.xml; the latter needs its own xmlns:xi attribute on its <chapter> element.
Comment 3 Frank H. Ellenberger 2021-01-19 03:55:11 EST
Right, it was broken in commit 7a37189.

Fixed in commit 843cc22.

Note You need to log in before you can comment on or make changes to this bug.