aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_sax_parser.hrl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2014-01-16 12:21:20 +0100
committerMagnus Lidén <[email protected]>2014-01-21 16:38:28 +0100
commite750b2aa3698d5bd7f4a9d23f568031e34c6ba2a (patch)
tree57dbc03e9e25bbccc55335148615116a7e58c781 /lib/xmerl/src/xmerl_sax_parser.hrl
parentfbcf11307e6e5eb9685fe6603ec2935638217423 (diff)
downloadotp-e750b2aa3698d5bd7f4a9d23f568031e34c6ba2a.tar.gz
otp-e750b2aa3698d5bd7f4a9d23f568031e34c6ba2a.tar.bz2
otp-e750b2aa3698d5bd7f4a9d23f568031e34c6ba2a.zip
[xmerl] Fix problem with header of next XML document is in the buffer
when using xmerl_sax_parser:stream/2 function.
Diffstat (limited to 'lib/xmerl/src/xmerl_sax_parser.hrl')
-rw-r--r--lib/xmerl/src/xmerl_sax_parser.hrl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_sax_parser.hrl b/lib/xmerl/src/xmerl_sax_parser.hrl
index 736316e069..b433dd6cf9 100644
--- a/lib/xmerl/src/xmerl_sax_parser.hrl
+++ b/lib/xmerl/src/xmerl_sax_parser.hrl
@@ -86,7 +86,15 @@
file_type = normal, % Can be normal, dtd and entity
current_location, % Location of the currently parsed XML entity
entity, % Parsed XML entity
- skip_external_dtd = false % If true the external DTD is skipped during parsing
+ skip_external_dtd = false,% If true the external DTD is skipped during parsing
+ input_type % Source type: file | stream.
+ % This field is a preparation for an fix in R17 of a bug in
+ % the conformance against the standard.
+ % Today a file which contains two XML documents will be considered
+ % well-formed and the second is placed in the rest part of the
+ % return tuple, according to the conformance tests this should fail.
+ % In the future this will fail if xmerl_sax_aprser:file/2 is used but
+ % left to the user in the xmerl_sax_aprser:stream/2 case.
}).