Hi Olivier,

On Tue, Oct 15, 2019 at 3:02 PM Olivier Hallot
<olivier.hal...@libreoffice.org> wrote:
> The XML check looks buggy in the situation below:
>
> https://weblate.documentfoundation.org/translate/libo_help-master/textsbasicpython/pt_BR/?type=check:xml-tags
>
> The XML tags are there, but my translation has it in different (but
> consistent) order in the text.
>
> Is the XML check flagging a false positive?

Yes - the xml-tag check only does a simple parsing of the source and
target strings, and creates a list of tuple of tagname and attribute
names and then does a simple equality check...

https://github.com/WeblateOrg/weblate/blob/master/weblate/checks/markup.py#L172

So is a false positive check/only does what the code tells it to do..

ciao
Christian

-- 
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to