xmlindent Assertion `strlen(yytext) == 1' failed

Bug #1803309 reported by strikeee
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xmlindent (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

xmlindent don't work in Ubuntu 18.04.1 LTS.

Assertion `strlen(yytext) == 1' failed

It is old bug (come back)

Best regard

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xmlindent (Ubuntu):
status: New → Confirmed
Revision history for this message
Walter (wdoekes) wrote :

Actually, there are two bugs here:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823315
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857796

They've both been fixed in Debian version 0.2.17-5.

I suggest Ubuntu to adopt the load of them. And ideally a better version of the 857796 fix.

- makefile.patch (updated 865758; needs a minor tweak to the rules file as well)
- clean-exit-on-error.patch (823315)
- yywrap-to-mark-eof.patch (better vesion of 857796, this one copes with embedded NULs)
- makefile2.patch (might as well fix the makefile to properly rebuild)

Patches incoming.

Cheers!

Walter Doekes
OSSO B.V.

Revision history for this message
Walter (wdoekes) wrote :
Revision history for this message
Walter (wdoekes) wrote :
Revision history for this message
Walter (wdoekes) wrote :
Revision history for this message
Walter (wdoekes) wrote :

Here, a combined patch against the debian/ dir.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "makefile.patch (updated from debian 865758)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Wladimir Mutel (mwg) wrote :

In Debian it was fixed in <1 mouth after the initial 18.04 LTS release.
Would be great to have it integrated into 18.04 before the end of its long-term support period.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.