Oops. Patch didn't come along. Here it is.
Cheers, Walter OSSO B.V.
Description: xmlindent abort()ed on invalid XML The following gave an abort/coredump: $ echo '<email>"John" <[email protected]></email>' | xmlindent Author: Walter Doekes <[email protected]> --- xmlindent-0.2.17.orig/xmlindent.yy +++ xmlindent-0.2.17/xmlindent.yy @@ -101,8 +101,8 @@ COMMENT "<!--" } . { - fprintf(stderr, "Error: Scanner did not recognize string '%s'. ", yytext); - abort(); + fprintf(stderr, "Error: Scanner did not recognize string '%s' near line %d.\n", yytext, yylineno); + exit(1); } %%

