diff options
author | Erlang/OTP <[email protected]> | 2017-06-02 10:38:14 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2017-06-02 10:38:14 +0200 |
commit | 164079c6d64b0f8d80e4d5c3117d53d56d3da971 (patch) | |
tree | d544ac0a53c683b563aa4260ef2f89ec951c6eda /lib/xmerl/src/xmerl_sax_simple_dom.erl | |
parent | 13b3ff0f9b45e61c071ddbec2ce45345fddecefe (diff) | |
parent | 842628fe530b3de3fe325e9bd20bb12b891d1b3d (diff) | |
download | otp-164079c6d64b0f8d80e4d5c3117d53d56d3da971.tar.gz otp-164079c6d64b0f8d80e4d5c3117d53d56d3da971.tar.bz2 otp-164079c6d64b0f8d80e4d5c3117d53d56d3da971.zip |
Merge branch 'lars/xmerl/fragmented-xml-directive/OTP-14430' into maint-19
* lars/xmerl/fragmented-xml-directive/OTP-14430:
[xmerl] Update version
[xmerl] Add test cases
[xmerl] Fix endDocument bug in output backends
[xmerl] Fix fragmented xml directive bug and replace ets table
Diffstat (limited to 'lib/xmerl/src/xmerl_sax_simple_dom.erl')
-rw-r--r-- | lib/xmerl/src/xmerl_sax_simple_dom.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xmerl/src/xmerl_sax_simple_dom.erl b/lib/xmerl/src/xmerl_sax_simple_dom.erl index 7eb3afd499..d842bd982b 100644 --- a/lib/xmerl/src/xmerl_sax_simple_dom.erl +++ b/lib/xmerl/src/xmerl_sax_simple_dom.erl @@ -129,8 +129,9 @@ build_dom(endDocument, State#xmerl_sax_simple_dom_state{dom=[Decl, {Tag, Attributes, lists:reverse(Content)}]}; _ -> - ?dbg("~p\n", [D]), - ?error("we're not at end the document when endDocument event is encountered.") + %% endDocument is also sent by the parser when a fault occur to tell + %% the event receiver that no more input will be sent + State end; %% Element |