Posieve does not catch error in

Freek de Kruijf freekdekruijf at kde.nl
Tue Dec 19 22:55:27 GMT 2023


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





More information about the kde-i18n-doc mailing list