aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_scan.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-07-08 10:56:10 +0200
committerLars Thorsen <[email protected]>2011-08-09 11:40:30 +0200
commit96a4a03f1d581810833d26aa9e7ff864ca8255f1 (patch)
tree8d97f4551fce727259e2470b166b592d692148e1 /lib/xmerl/src/xmerl_scan.erl
parentb33142d1da7322f621e175a3dfb7e1d185902192 (diff)
downloadotp-96a4a03f1d581810833d26aa9e7ff864ca8255f1.tar.gz
otp-96a4a03f1d581810833d26aa9e7ff864ca8255f1.tar.bz2
otp-96a4a03f1d581810833d26aa9e7ff864ca8255f1.zip
Entity replacement in attributes doesn't work poperly.
Diffstat (limited to 'lib/xmerl/src/xmerl_scan.erl')
-rw-r--r--lib/xmerl/src/xmerl_scan.erl2
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),