[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUN Error] Incompatible change in philosophy/stallman-mec-india.ht
From: |
Yavor Doganov |
Subject: |
Re: [GNUN Error] Incompatible change in philosophy/stallman-mec-india.html |
Date: |
Wed, 08 Feb 2012 23:00:16 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Dora Scilipoti wrote:
> What is this? I validated that file with gnun-validate-html before
> committing, and it didn't complain.
Errors of this type have nothing to do with HTML validation.
GNUN barfs with such Guile backtraces when the `make-prototype' script
is unable to extract the meaningful (the translatable) part of the
article. Typically, this is because the article's HTML
markup/structure does not follow some established boilerplate fu.
More specifically, this regexp:
^(.*?)(<title>.*)(</div>.*<div id=\"footer\">.*)(<p>.*?[$]Date:.*)$
AFAICS ineiev has fixed it, so nothing to worry about it in this case.
As a TODO item, perhaps we should teach gnun-validate-html to report
such issues (while still exiting successfully if the article is valid
HTML). Even though they are entirely unrelated to its task, I bet
many www-discuss subscribers find this error report rather awkward and
unhelpful.