diff options
author | Lars Thorsen <[email protected]> | 2011-09-26 11:09:37 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-09-26 11:09:37 +0200 |
commit | 97f3a064f27843a9f825210c1c7a27075b7b3ad7 (patch) | |
tree | eab876b6e2b0b78e98df7217d15bcd2212d5fd4b /lib/xmerl/src/xmerl_xsd.erl | |
parent | abc8c8c9c18eaaec117f737389ed190e206c67f1 (diff) | |
parent | 8cb06dd34e0febc6a147ca4a3d9775ad3baade83 (diff) | |
download | otp-97f3a064f27843a9f825210c1c7a27075b7b3ad7.tar.gz otp-97f3a064f27843a9f825210c1c7a27075b7b3ad7.tar.bz2 otp-97f3a064f27843a9f825210c1c7a27075b7b3ad7.zip |
Merge branch 'lars/xmerl/continuation-error/OTP-9457' into dev
* lars/xmerl/continuation-error/OTP-9457:
[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.erl | 6 |
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; |