Another invalid xml tag

Hi,

According to Pootle, in the string buNWf in
https://translations.documentfoundation.org/fr/libo_help/translate/sdraw.po#unit=29707700
there is an invalid xml tag. I guess it is <caseinline select="DRAW"/>

Shouldn't it be changed in <caseinline select="DRAW"></caseinline> ?

Best regards.
JBF

Hi,
no, that tag is self-closed, just as <br/> (for line break) in HTML,
that is why there is that / at the end of tag and it does not need
another tag for closing.

In that case, there is a bug in Pootle which detects these self-closing
tags as invalid xml tags.

Best regards.
JBF

2016-07-31 12:28 GMT+02:00 Jean-Baptiste Faure <jbfaure@libreoffice.org
<mailto:jbfaure@libreoffice.org>>:

no, that tag is self-closed, just as <br/> (for line break) in HTML,
that is why there is that / at the end of tag and it does not need
another tag for closing.

In that case, there is a bug in Pootle which detects these self-closing
tags as invalid xml tags.

No, not a bug in pootle. While it is valid xml, it is not valid helpcontent.

    According to Pootle, in the string buNWf in
    https://translations.documentfoundation.org/fr/libo_help/translate/sdraw.po#unit=29707700
    there is an invalid xml tag. I guess it is <caseinline select="DRAW"/>

Empty caseinline statements doesn't make sense at all, writing it in
expanded form doesn't change the meaning. It then would still be
pointless.

In this case the whole switchinline is pointless, as it doesn't switch
anything at all.

ciao
Christian

So, in these cases, do we have to expect some correction in Pootle?

Ciao

Hi Valter, *,

[…]
Empty caseinline statements doesn't make sense at all, writing it in
expanded form doesn't change the meaning. It then would still be
pointless.

In this case the whole switchinline is pointless, as it doesn't switch
anything at all.

So, in these cases, do we have to expect some correction in Pootle?

Not for 5.2.x line (project will be split after 5.2.1 is done, then
master will be master and then you can expect fix in source string).

ciao
Christian