diff options
author | Lars Thorsen <[email protected]> | 2011-05-05 12:44:28 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-05-10 09:13:25 +0200 |
commit | c241e8780088624f369379ba87215a475276b201 (patch) | |
tree | ce54006a66dd7f729bbb999b49d8fb8d0696bbec /lib/xmerl/src/xmerl_xsd.erl | |
parent | f721fb91140cb09b63b2563e61585ea2a272761c (diff) | |
download | otp-c241e8780088624f369379ba87215a475276b201.tar.gz otp-c241e8780088624f369379ba87215a475276b201.tar.bz2 otp-c241e8780088624f369379ba87215a475276b201.zip |
Fix separator error in tokenlists.
Diffstat (limited to 'lib/xmerl/src/xmerl_xsd.erl')
-rw-r--r-- | lib/xmerl/src/xmerl_xsd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_xsd.erl b/lib/xmerl/src/xmerl_xsd.erl index bd24db5389..1f0793bc58 100644 --- a/lib/xmerl/src/xmerl_xsd.erl +++ b/lib/xmerl/src/xmerl_xsd.erl @@ -2921,7 +2921,7 @@ schemaLocations(El=#xmlElement{attributes=Atts},S) -> [] -> S; [#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 -> |