aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/test/xmerl_xsd_SUITE.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-08-09 11:27:38 +0200
committerLars Thorsen <[email protected]>2011-08-09 11:29:51 +0200
commit7e9d4d42b93adf49a696d0ca36d97eda17f7a2af (patch)
tree85c06a47d1684d65151f341f672c71f19ce49bcf /lib/xmerl/test/xmerl_xsd_SUITE.erl
parentea007e3498aaf5dc1e7be7c39520f0e103840418 (diff)
downloadotp-7e9d4d42b93adf49a696d0ca36d97eda17f7a2af.tar.gz
otp-7e9d4d42b93adf49a696d0ca36d97eda17f7a2af.tar.bz2
otp-7e9d4d42b93adf49a696d0ca36d97eda17f7a2af.zip
Added ticket test case.
Diffstat (limited to 'lib/xmerl/test/xmerl_xsd_SUITE.erl')
-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").