trans-coord-devel
[Top][All Lists]
Advanced

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

Re: #include directives propagate in the POT.


From: Yavor Doganov
Subject: Re: #include directives propagate in the POT.
Date: Sat, 23 Aug 2008 01:05:45 +0300
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

Явор Доганов wrote:
> 
> Anyway, it's just a nuisance, nothing more.

There is more.  Switching to po4a 0.34 revealed a bug (not a bug in a
strict sense, but a validation warning that is turned into an error,
for another reason) in the Serbian templates.

header.sr.html has a nefarious, nasty, disgusting BOM -- it appears
that xmllint ignores it, as well as validator.w3.org (it displays a
warning, though, if you validate
http://gnu.org/server/whatsnew.sr.html).

But since 0.34 has this regression of adding an empty line at the
beginning (among other things), the presence of the BOM before the
DOCTYPE declaration on the second line makes it invalid.  No surprise,
since a BOM can be only at the beginning of the file and there's a
blank line in whatsnew.sr.html before our good old friend m4 expands
the include directive on the fly.

Of course that's no reason to regret the switch, it's just an amusing
and a bit cryptic bug in header.sr.html.




reply via email to

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