tags 428199 pending thanks On Sun, Aug 05, 2007 at 08:55:06AM +0200, Helge Kreutzmann wrote: > Hello Nicolas, > On Sun, Aug 05, 2007 at 12:48:41AM +0200, Nicolas François wrote: > > 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. > > At least in 0.31-1 bug #280882 is (unfortunately) still present. Since > the output is different for 0.29-1 and 0.31-1 I now think of > postprocessing the generated file with perl.
Hum, I did not noticed there were some changes in the output of po4a. I think it is now fixed (this does not change anything for the warning), and I've added a test to the test suite. > > 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... > > Fine with me. Looking forward for the fix. Done. Best Regards, -- Nekral