aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_sax_old_dom.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-04-28 15:22:36 +0200
committerRichard Carlsson <[email protected]>2015-04-28 15:31:41 +0200
commitbca6864c181eb8c14a0b8e47afb3dd6206e6ae7c (patch)
tree72a44e2363184aa911666438e20f31b42e3dc322 /lib/xmerl/src/xmerl_sax_old_dom.erl
parent861145a503c77d8144033f38d288bdda31699edd (diff)
downloadotp-bca6864c181eb8c14a0b8e47afb3dd6206e6ae7c.tar.gz
otp-bca6864c181eb8c14a0b8e47afb3dd6206e6ae7c.tar.bz2
otp-bca6864c181eb8c14a0b8e47afb3dd6206e6ae7c.zip
Stop xmerl printing to stdout
Replace sloppy calls to io:format() in xmerl to use error_logger or debug macros instead, as appropriate.
Diffstat (limited to 'lib/xmerl/src/xmerl_sax_old_dom.erl')
-rw-r--r--lib/xmerl/src/xmerl_sax_old_dom.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_sax_old_dom.erl b/lib/xmerl/src/xmerl_sax_old_dom.erl
index c357816a1e..08b20fffcd 100644
--- a/lib/xmerl/src/xmerl_sax_old_dom.erl
+++ b/lib/xmerl/src/xmerl_sax_old_dom.erl
@@ -28,6 +28,7 @@
%% Include files
%%----------------------------------------------------------------------
-include("xmerl_sax_old_dom.hrl").
+-include("xmerl_internal.hrl").
%%----------------------------------------------------------------------
%% External exports
@@ -126,7 +127,7 @@ build_dom(endDocument,
content=lists:reverse(C)
}]};
_ ->
- io:format("~p\n", [D]),
+ %%?dbg("~p\n", [D]),
?error("we're not at end the document when endDocument event is encountered.")
end;