gnobog-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnobog-devel] Re: Bug report: gb_io_read_plugin_out and DTD


From: renaud_chaillat
Subject: [Gnobog-devel] Re: Bug report: gb_io_read_plugin_out and DTD
Date: Fri, 29 Aug 2003 14:35:51 CEST

>Hello,
>I got gnobog-test to compile and tried first the command-line
>interface.

Welcome !

> And I promptly got my first error messages:
>
>dv: > /test/bin/gnobog -v -i test-bm.html netscape -o gno2.xml
>[perror] gb_io_read_plugin_out::read:: Bad file descriptor

That's OK, I should remove this message in the code of gb_io, 
this signals the end of the data stream fed to the plugin.
I think I had left it to check someday that the code there 
is clean (since then it proved to work quite well though).

>error: failed to load external entity "gnobog_document.dtd"
>Could not load the external subset "gnobog_document.dtd"
>I have right now no idea about the first error.  I've seen
>a lot of debug messages in the code: how can I turn on
>these messages?

Give options like the following to ./configure:
./configure --enable-lib-debug=yes --enable-io-debug=yes

You can list them with ./configure --help
They should be improved though, so as to not require the "=yes".

Beware that this can generate a frightening lot of debug messages.
You can further tune the messages by #def or #undef some flags in the 
appriopriate src/libgnobog or src/io header (*defs.h).

>The second problem is probably a libxml configuration problem:
>you should add the gnobog data directory to the path where
>libxml looks for DTDs.

You're right, we didn't really bother about this for now.
Gnobog should work nonetheless, so you should have got your 
gno2.xml ?

Renaud

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,16 € TTC/min)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]