aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/test
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-08-10 10:25:29 +0200
committerLars Thorsen <[email protected]>2011-08-10 10:25:29 +0200
commiteeaba1c37766516947d3ee28934f71b4ce316ab0 (patch)
tree85c06a47d1684d65151f341f672c71f19ce49bcf /lib/xmerl/test
parentb33142d1da7322f621e175a3dfb7e1d185902192 (diff)
parent7e9d4d42b93adf49a696d0ca36d97eda17f7a2af (diff)
downloadotp-eeaba1c37766516947d3ee28934f71b4ce316ab0.tar.gz
otp-eeaba1c37766516947d3ee28934f71b4ce316ab0.tar.bz2
otp-eeaba1c37766516947d3ee28934f71b4ce316ab0.zip
Merge branch 'lars/xmerl/cant_locate_xsd/OTP-9410' into dev
* lars/xmerl/cant_locate_xsd/OTP-9410: Added ticket test case. Fixed problem with relative paths to schemas.
Diffstat (limited to 'lib/xmerl/test')
-rw-r--r--lib/xmerl/test/xmerl_xsd_SUITE.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/xmerl/test/xmerl_xsd_SUITE.erl b/lib/xmerl/test/xmerl_xsd_SUITE.erl
index a0d3b1e667..421fa48054 100644
--- a/lib/xmerl/test/xmerl_xsd_SUITE.erl
+++ b/lib/xmerl/test/xmerl_xsd_SUITE.erl
@@ -62,7 +62,7 @@ groups() ->
sis2, state2file_file2state, union]},
{ticket_tests, [],
[ticket_6910, ticket_7165, ticket_7190, ticket_7288,
- ticket_7736, ticket_8599]},
+ ticket_7736, ticket_8599, ticket_9410]},
{facets, [],
[length, minLength, maxLength, pattern, enumeration,
whiteSpace, maxInclusive, maxExclusive, minExclusive,
@@ -1146,3 +1146,8 @@ ticket_8599(Config) ->
?line {{xmlElement,persons,persons,_,_,_,_,_,_,_,_,_},_GlobalState} = xmerl_xsd:validate(E, S).
+
+ticket_9410(suite) -> [];
+ticket_9410(Config) ->
+ file:set_cwd(filename:join([?config(data_dir,Config),".."])),
+ ?line {ok, _S} = xmerl_xsd:process_schema("xmerl_xsd_SUITE_data/small.xsd").