Bug#429847: generates incorrect OMF file for scrollkeeper if doc-base file contains & character

Robert Luberda robert at debian.org
Mon Oct 1 19:59:47 UTC 2007


On Sat, 4 Aug 2007, Sven Arvidsson wrote:

Hi, 

> 
> The scrollkeeper manual has a section about testing the OMF file, so you
> can make sure it's valid;
> http://scrollkeeper.sourceforge.net/documentation/writing_scrollkeeper_omf_files/ar01s07.html

The file *is* valid.
	$  xmllint --valid --noout /var/lib/doc-base/omf/mh-book/mh-book-C.omf  && echo OK
	OK

But scrollkeeper fails on that file, because it contains the "&"
escape sequences:

	$ grep "&" /var/lib/doc-base/omf/mh-book/mh-book-C.omf 
                <title>MH &amp; nmh: Email for Users &amp;Programmers</title>


I've just noted that double encoding "&" as "&amp;amp;" seems to work,
so I can get round the bug in that way in doc-base. However I think the right solution 
would be to fix scrollkeeper.


Best Regards,
robert






More information about the pkg-gnome-maintainers mailing list