Posieve does not catch error in

Albert Astals Cid aacid at kde.org
Tue Dec 19 20:03:20 GMT 2023


El dimarts, 19 de desembre de 2023, a les 20:06:28 (CET), Chusslove Illich va 
escriure:
>  > [: 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?

I guess it ends being malformed xml?

As far as I understand you can't have a > without a corresponding <tag or 
similar, no?

Cheers,
  Albert

> 
> -- 
> Chusslove Illich (Часлав Илић)






More information about the kde-i18n-doc mailing list