[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Posieve does not catch error in
From: Freek de Kruijf <freekdekruijf () kde ! nl>
Date: 2023-12-19 22:55:27
Message-ID: 2167580.irdbgypaU6 () eiktum
[Download RAW message or body]
Op dinsdag 19 december 2023 20:06:28 CET schreef Chusslove Illich:
> > [: Freek de Kruijf :]
> > I always run "posieve -check-tp-kde <some_po_file>",but it did not
> > catch an error in the false construction
> > <link> linkend="...">...</link>.
>
>
> The problem is that <link> tag was correctly closed with </link>
> afterwards, so the part linkend="..."> became ordinary text. I.e. it is
> not a syntactical error, but a semantical one (not what the writer
> wanted). This would require some heuristics to catch, which would run
> high danger of false positives (and zero-false positives is a hard
> requirement on check-* sieves).
>
> However you say that generating the docbook does result in error, which
> contradicts what I said about syntactical correctness. What kind of
> error is actually reported there?
>
> --
> Chusslove Illich (Часлав Илић)
The error is:
index.docbook:422: element link: validity error : Element link does not carry
attribute linkend
&commands; <!--Command Reference-->
--
fr.gr.
Freek de Kruijf
vertaler/coördinator van KDE
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic