diff options
author | Lars Thorsen <lars@erlang.org> | 2011-08-10 10:37:35 +0200 |
---|---|---|
committer | Lars Thorsen <lars@erlang.org> | 2011-08-10 10:37:35 +0200 |
commit | 82dba8f37f312e8ae0f4b175d8e0a522788571a7 (patch) | |
tree | fa9bc3a3d3051e97f7d578e5957a82c7993a7aab /lib/xmerl/src | |
parent | eeaba1c37766516947d3ee28934f71b4ce316ab0 (diff) | |
parent | 5650ad3d33513dac84af045788628e06c1645aa4 (diff) | |
download | otp-82dba8f37f312e8ae0f4b175d8e0a522788571a7.tar.gz otp-82dba8f37f312e8ae0f4b175d8e0a522788571a7.tar.bz2 otp-82dba8f37f312e8ae0f4b175d8e0a522788571a7.zip |
Merge branch 'lars/xmerl/attr_val_bug/OTP-9411' into dev
* lars/xmerl/attr_val_bug/OTP-9411:
Added test case for ticket 9411.
Entity replacement in attributes doesn't work poperly.
Diffstat (limited to 'lib/xmerl/src')
-rw-r--r-- | lib/xmerl/src/xmerl_scan.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_scan.erl b/lib/xmerl/src/xmerl_scan.erl index 059c8f21b6..e598c5f56d 100644 --- a/lib/xmerl/src/xmerl_scan.erl +++ b/lib/xmerl/src/xmerl_scan.erl @@ -2276,7 +2276,7 @@ scan_att_chars([H|T], S0, H, Acc, TmpAcc,AttType,IsNorm) -> % End quote true -> normalize(Acc,S,IsNorm) end, - {lists:reverse(Acc2), T, S2,IsNorm2}; + {lists:flatten(lists:reverse(Acc2)), T, S2,IsNorm2}; scan_att_chars("&" ++ T, S0, Delim, Acc, TmpAcc,AT,IsNorm) -> % Reference ?bump_col(1), {ExpRef, T1, S1} = scan_reference(T, S), |