Posieve does not catch error in <link> linked=... </link>

Chusslove Illich caslav.ilic at gmx.net
Tue Dec 19 19:06:28 GMT 2023


 > [: 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 (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20231219/cf0ed8a6/attachment.sig>


More information about the kde-i18n-doc mailing list