From ce7e5e9c26efa1f907b152a4f6d223e0080542d1 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Tue, 14 Aug 2018 14:35:33 +0200 Subject: fix generated encoding for xml files generated with emd2exml DTRACE.xml and SYSTEMTRAP.xml set encoding to utf8 instead of utf-8 and make xmerl_scan:file/1,2 fail parsing them (cherry picked from commit faded6e1cdceb049d2d9bc995b6c981d58709315) --- make/emd2exml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/emd2exml.in b/make/emd2exml.in index 57bcaba24d..24837696f4 100755 --- a/make/emd2exml.in +++ b/make/emd2exml.in @@ -1214,7 +1214,7 @@ complete_output(#state{out = Out} = S) -> complete_output(S, [], Out) -> S#state{delayed_array = [], - out = ["", nl(), + out = ["", nl(), "", nl(), Out]}; complete_output(S, [{delayed, IX}|Rest], Out) -> -- cgit v1.2.3