GnuCash
Contact   Instructions
Bug 797324 - yelp 3.32.2 does not find entities while listing "all documents"
Summary: yelp 3.32.2 does not find entities while listing "all documents"
Status: VERIFIED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: General (show other bugs)
Version: 3.x
Hardware: PC Linux
: Normal minor
Target Milestone: ---
Assignee: documentation
QA Contact: documentation
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-24 19:05 EDT by Frank H. Ellenberger
Modified: 2019-08-17 10:08 EDT (History)
2 users (show)

See Also:


Attachments

Description Frank H. Ellenberger 2019-07-24 19:05:23 EDT
> LANG=C yelp
[select Menu->All Help]
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:358: parser error : Entity 'url-bug-wiki' not defined
        <ulink url="&url-bug-wiki;">Bugzilla page of the GnuCash wiki</ulink>
                                  ^
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:360: parser error : Entity 'url-bug-start' not defined
        <ulink url="&url-bug-start;">&appname; Bug Tracking System</ulink>. At f
                                   ^
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:360: parser error : Entity 'appname' not defined
        <ulink url="&url-bug-start;">&appname; Bug Tracking System</ulink>. At f
                                              ^
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:361: parser error : Entity 'url-bug-browse' not defined
        you want to <ulink url="&url-bug-browse;">browse</ulink> or 
                                                ^
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:362: parser error : Entity 'url-bug-search' not defined
        <ulink url="&url-bug-search;">search</ulink> it for already existing 
                                    ^
/usr/local/share/gnome/help/gnucash-guide/C/gnucash-guide.xml:363: parser error : Entity 'appname' not defined
        bugs. Select the product <emphasis>&appname;</emphasis> for the program 
                                                    ^
/usr/local/share/gnome/help/gnucash-help/C/gnucash-help.xml:287: parser error : Entity 'url-bug-start' not defined
        <ulink url="&url-bug-start;"
                                   ^
/usr/local/share/gnome/help/gnucash-help/C/gnucash-help.xml:288: parser error : Entity 'appname' not defined
          >&appname; Bug Tracking System</ulink>.
 
It seems to have a problem with our relative DTD path:
<!DOCTYPE book SYSTEM "gnc-docbookx.dtd">

Comparing the feedback section, in HTML everything is fine, while in yelp the entities are empty.
Comment 1 Geert Janssens 2019-08-17 09:01:57 EDT
I believe this is because I forgot to add rules to install our gnucash specific dtd together with the xml files.

Should be fixed now.
Comment 2 Frank H. Ellenberger 2019-08-17 10:06:09 EDT
The error messages disappeared and enities got valid values.
Comment 3 Frank H. Ellenberger 2019-08-17 10:08:00 EDT
So we can continue to prepare the new I18N approach.

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