[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:       Albert Astals Cid <aacid () kde ! org>
Date:       2023-12-19 20:03:20
Message-ID: 2393130.BkIOG6t6z9 () xps15
[Download RAW message or body]

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 (Часлав Илић)




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic