aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xsd.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-08-10 10:22:44 +0200
committerLars Thorsen <[email protected]>2011-09-26 11:03:37 +0200
commit8cb06dd34e0febc6a147ca4a3d9775ad3baade83 (patch)
treeeab876b6e2b0b78e98df7217d15bcd2212d5fd4b /lib/xmerl/src/xmerl_xsd.erl
parentabc8c8c9c18eaaec117f737389ed190e206c67f1 (diff)
downloadotp-8cb06dd34e0febc6a147ca4a3d9775ad3baade83.tar.gz
otp-8cb06dd34e0febc6a147ca4a3d9775ad3baade83.tar.bz2
otp-8cb06dd34e0febc6a147ca4a3d9775ad3baade83.zip
[xmerl] Fix streaming bug in xmerl_scan (Thanks to Simon Cornish)
Diffstat (limited to 'lib/xmerl/src/xmerl_xsd.erl')
-rw-r--r--lib/xmerl/src/xmerl_xsd.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xmerl/src/xmerl_xsd.erl b/lib/xmerl/src/xmerl_xsd.erl
index 50c0a79016..dfdc6138ef 100644
--- a/lib/xmerl/src/xmerl_xsd.erl
+++ b/lib/xmerl/src/xmerl_xsd.erl
@@ -355,9 +355,9 @@ initiate_state(Opts,Schema) ->
XSDBase = filename:dirname(Schema),
{{state,S},RestOpts}=new_state(Opts),
S2 = create_tables(S),
- S3 = initiate_state2(S2#xsd_state{schema_name = Schema, xsd_base=XSDBase,
- fetch_fun = fun fetch/2},
- RestOpts).
+ initiate_state2(S2#xsd_state{schema_name = Schema, xsd_base=XSDBase,
+ fetch_fun = fun fetch/2},
+ RestOpts).
initiate_state2(S,[]) ->
S;