[xml/sgml-pkgs] Bug#963584: handle broken XML in PO gracefully

Osamu Aoki osamu at debian.org
Mon Jul 13 14:16:27 BST 2020


Control: retitle -1 itstool: handle broken XML in PO gracefully
Control: severity -1 wishlist
Control: reassign -1 src:itstool

Hi again,

On Mon, 2020-07-13 at 20:18 +0900, Osamu Aoki wrote:
> Basically itstool needs to handle broken PO file more gracefully
> with more informative error message.
> 
> Previous error message was not the best shape but better than now.

After fixing all broken XML tags in Chinese PO files with attached
patch, I can build translated XML files without stopping the XML build
under sid chroot.  I hope this descroption should help improve itstool
by identifying the problem.

Situation and root cause of similar reported bugs may be the same.
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919058
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952871


Osamu



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-PO-tags.patch
Type: text/x-patch
Size: 4698 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-xml-sgml-pkgs/attachments/20200713/80494e4e/attachment-0001.bin>


More information about the debian-xml-sgml-pkgs mailing list