aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_scan.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-05-10 09:15:13 +0200
committerLars Thorsen <[email protected]>2011-05-10 09:15:13 +0200
commit6f7310e3a06af45f2635b0451874445b7f51b7ff (patch)
treece54006a66dd7f729bbb999b49d8fb8d0696bbec /lib/xmerl/src/xmerl_scan.erl
parente3af9123e7ef9291535cafbd0ecb9d3309d674f7 (diff)
parentc241e8780088624f369379ba87215a475276b201 (diff)
downloadotp-6f7310e3a06af45f2635b0451874445b7f51b7ff.tar.gz
otp-6f7310e3a06af45f2635b0451874445b7f51b7ff.tar.bz2
otp-6f7310e3a06af45f2635b0451874445b7f51b7ff.zip
Merge branch 'lars/xmerl/test-suites/OTP-9228' into dev
* lars/xmerl/test-suites/OTP-9228: Fix separator error in tokenlists. Added the xmerl test suites. Using the same testdata for testing xmerl_scan and xmerl_sax_parser. Add test suite for xmerl xmerl: Add doc/examples directory
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 3a5164d154..22eb641a02 100644
--- a/lib/xmerl/src/xmerl_scan.erl
+++ b/lib/xmerl/src/xmerl_scan.erl
@@ -3918,7 +3918,7 @@ schemaLocations(#xmlElement{attributes=Atts,xmlbase=_Base}) ->
case lists:dropwhile(Pred,Atts) of
[#xmlAttribute{value=Paths}|_] ->
- case string:tokens(Paths," ") of
+ case string:tokens(Paths," \n\t\r") of
L when length(L) > 0 ->
case length(L) rem 2 of
0 ->