Hello Helge, On Sat, Jun 09, 2007 at 09:15:33PM +0200, Helge Kreutzmann wrote: > > I just updated the man page for goobox (yet unrelease, but I can > provide you the current copy) and decided to try out po4a. I read > po4a(7) and followed the steps (actually, right now only the first > step): > [EMAIL PROTECTED]:~/prog/debian/goobox/manpages$ po4a-gettextize -f sgml -m > goobox.en.sgml -p goobox.en.pot > po4a::sgml: Warning: nsgmls is missing or non-functional. Please make sure > that > nsgmls is present and does not produce any error (with the > -wno-valid option), and report a bug otherwise. Continuing...
I agree that this warning is annoying, and it is also misleading. I intended to get rid of nsgmls, and replace it by an internal parser (e.g. using the Xml module), but it is more complicated than expected, so this warning remained, and the cases where po4a produced broken files were fixed. The initial intent of the warning is that sometimes, po4a has to do some bad thing to the SGML it receives before it passes it to nsgmls, and this can break the structure of the SGML. I will remove the warning, and I will use the following warning in verbose mode only: nsgmls produced some errors. This is usually caused by po4a, which modifies the input and restores it afterwards, causing the input of nsgmls to be invalid. This is usually safe, but you may wish to verify the generated document with nsgmls -wno-valid. Continuing... Kind Regards, -- Nekral -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]