diff options
Diffstat (limited to 'lib/xmerl/test/xmerl_sax_std_SUITE.erl')
-rw-r--r-- | lib/xmerl/test/xmerl_sax_std_SUITE.erl | 16382 |
1 files changed, 7276 insertions, 9106 deletions
diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE.erl b/lib/xmerl/test/xmerl_sax_std_SUITE.erl index c363a8ea8b..525a3b175a 100644 --- a/lib/xmerl/test/xmerl_sax_std_SUITE.erl +++ b/lib/xmerl/test/xmerl_sax_std_SUITE.erl @@ -38,50 +38,40 @@ %% Initializations %%---------------------------------------------------------------------- -init_per_suite(doc) -> - ["Starts the test suite"]; init_per_suite(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line ok=erl_tar:extract("ibm.tgz",[compressed]), - ?line ok=erl_tar:extract("japanese.tgz",[compressed]), - ?line ok=erl_tar:extract("oasis.tgz",[compressed]), - ?line ok=erl_tar:extract("sun.tgz",[compressed]), - ?line ok=erl_tar:extract("xmltest.tgz",[compressed]), - ?line ok = change_mode(["ibm","japanese","oasis", - "sun","xmltest"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + ok=erl_tar:extract("ibm.tgz",[compressed]), + ok=erl_tar:extract("japanese.tgz",[compressed]), + ok=erl_tar:extract("oasis.tgz",[compressed]), + ok=erl_tar:extract("sun.tgz",[compressed]), + ok=erl_tar:extract("xmltest.tgz",[compressed]), + ok = change_mode(["ibm","japanese","oasis", + "sun","xmltest"]), Config. - + -ifndef(dont_rm_test_dirs). - -end_per_suite(doc) -> - ["Stops the test suite"]; + end_per_suite(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line ok=rm_files(["ibm","japanese","oasis","sun","xmltest"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + ok=rm_files(["ibm","japanese","oasis","sun","xmltest"]), Config. - + -else. - -end_per_suite(doc) -> - ["Stops the test suite"]; + end_per_suite(Config) -> Config. - + -endif. - + %% initialization before each testcase init_per_testcase(_TestCase,Config) -> io:format("Config:\n~p\n",[Config]), - ?line {ok, _} = file:read_file_info(filename:join([?config(priv_dir,Config)])), - ?line code:add_patha(?config(priv_dir,Config)), -% Dog=test_server:timetrap({minutes,10}), -% [{watchdog, Dog}|Config]. + {ok, _} = file:read_file_info(filename:join([privdir(Config)])), + code:add_patha(privdir(Config)), Config. %% clean up after each testcase end_per_testcase(_Func,_Config) -> -% Dog=?config(watchdog, Config), -% test_server:timetrap_cancel(Dog), ok. %%---------------------------------------------------------------------- @@ -94,12 +84,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-001 %% Type: not-wf %% Sections: 3.1 [41] -'not-wf-sa-001'(suite) -> []; 'not-wf-sa-001'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/001.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/001.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -107,12 +96,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-002 %% Type: not-wf %% Sections: 2.3 [4] -'not-wf-sa-002'(suite) -> []; 'not-wf-sa-002'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/002.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/002.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -120,12 +108,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-003 %% Type: not-wf %% Sections: 2.6 [16] -'not-wf-sa-003'(suite) -> []; 'not-wf-sa-003'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/003.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/003.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -133,12 +120,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-004 %% Type: not-wf %% Sections: 2.6 [16] -'not-wf-sa-004'(suite) -> []; 'not-wf-sa-004'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/004.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/004.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -146,12 +132,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-005 %% Type: not-wf %% Sections: 2.6 [16] -'not-wf-sa-005'(suite) -> []; 'not-wf-sa-005'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/005.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/005.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -159,12 +144,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-006 %% Type: not-wf %% Sections: 2.5 [16] -'not-wf-sa-006'(suite) -> []; 'not-wf-sa-006'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/006.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/006.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -172,12 +156,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-007 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-007'(suite) -> []; 'not-wf-sa-007'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/007.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/007.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -185,12 +168,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-008 %% Type: not-wf %% Sections: 2.3 [5] -'not-wf-sa-008'(suite) -> []; 'not-wf-sa-008'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/008.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/008.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -198,12 +180,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-009 %% Type: not-wf %% Sections: 4.1 [66] -'not-wf-sa-009'(suite) -> []; 'not-wf-sa-009'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/009.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/009.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -211,12 +192,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-010 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-010'(suite) -> []; 'not-wf-sa-010'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/010.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/010.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -224,12 +204,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-011 %% Type: not-wf %% Sections: 3.1 [41] -'not-wf-sa-011'(suite) -> []; 'not-wf-sa-011'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/011.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/011.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -237,12 +216,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-012 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-012'(suite) -> []; 'not-wf-sa-012'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/012.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/012.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -250,12 +228,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-013 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-013'(suite) -> []; 'not-wf-sa-013'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/013.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/013.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -263,12 +240,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-014 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-014'(suite) -> []; 'not-wf-sa-014'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/014.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/014.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -276,12 +252,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-015 %% Type: not-wf %% Sections: 3.1 [41] -'not-wf-sa-015'(suite) -> []; 'not-wf-sa-015'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/015.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/015.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -289,12 +264,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-016 %% Type: not-wf %% Sections: 3.1 [41] -'not-wf-sa-016'(suite) -> []; 'not-wf-sa-016'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/016.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/016.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -302,12 +276,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-017 %% Type: not-wf %% Sections: 2.7 [18] -'not-wf-sa-017'(suite) -> []; 'not-wf-sa-017'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/017.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/017.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -315,12 +288,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-018 %% Type: not-wf %% Sections: 2.7 [19] -'not-wf-sa-018'(suite) -> []; 'not-wf-sa-018'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/018.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/018.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -328,12 +300,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-019 %% Type: not-wf %% Sections: 3.1 [42] -'not-wf-sa-019'(suite) -> []; 'not-wf-sa-019'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/019.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/019.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -341,12 +312,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-020 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-020'(suite) -> []; 'not-wf-sa-020'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/020.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/020.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -354,12 +324,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-021 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-021'(suite) -> []; 'not-wf-sa-021'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/021.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/021.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -367,12 +336,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-022 %% Type: not-wf %% Sections: 4.1 [66] -'not-wf-sa-022'(suite) -> []; 'not-wf-sa-022'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/022.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/022.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -380,12 +348,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-023 %% Type: not-wf %% Sections: 2.3 [5] -'not-wf-sa-023'(suite) -> []; 'not-wf-sa-023'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/023.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/023.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -393,12 +360,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-024 %% Type: not-wf %% Sections: 2.3 [5] -'not-wf-sa-024'(suite) -> []; 'not-wf-sa-024'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/024.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/024.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -406,12 +372,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-025 %% Type: not-wf %% Sections: 2.4 [14] -'not-wf-sa-025'(suite) -> []; 'not-wf-sa-025'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/025.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/025.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -419,12 +384,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-026 %% Type: not-wf %% Sections: 2.4 [14] -'not-wf-sa-026'(suite) -> []; 'not-wf-sa-026'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/026.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/026.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -432,12 +396,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-027 %% Type: not-wf %% Sections: 2.5 [15] -'not-wf-sa-027'(suite) -> []; 'not-wf-sa-027'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/027.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/027.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -445,12 +408,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-028 %% Type: not-wf %% Sections: 2.6 [16] -'not-wf-sa-028'(suite) -> []; 'not-wf-sa-028'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/028.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/028.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -458,12 +420,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-029 %% Type: not-wf %% Sections: 2.4 [14] -'not-wf-sa-029'(suite) -> []; 'not-wf-sa-029'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/029.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/029.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -471,12 +432,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-030 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-030'(suite) -> []; 'not-wf-sa-030'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/030.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/030.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -484,12 +444,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-031 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-031'(suite) -> []; 'not-wf-sa-031'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/031.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/031.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -497,12 +456,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-032 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-032'(suite) -> []; 'not-wf-sa-032'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/032.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/032.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -510,12 +468,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-033 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-033'(suite) -> []; 'not-wf-sa-033'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/033.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/033.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -523,12 +480,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-034 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-034'(suite) -> []; 'not-wf-sa-034'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/034.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/034.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -536,12 +492,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-035 %% Type: not-wf %% Sections: 3.1 [43] -'not-wf-sa-035'(suite) -> []; 'not-wf-sa-035'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/035.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/035.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -549,15 +504,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-036 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-036'(suite) -> []; 'not-wf-sa-036'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/036.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/036.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"Illegal data\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"Illegal data\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -565,15 +519,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-037 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-037'(suite) -> []; 'not-wf-sa-037'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/037.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/037.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<" \r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<" \r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -581,12 +534,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-038 %% Type: not-wf %% Sections: 3.1 -'not-wf-sa-038'(suite) -> []; 'not-wf-sa-038'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/038.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/038.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -594,12 +546,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-039 %% Type: not-wf %% Sections: 3 -'not-wf-sa-039'(suite) -> []; 'not-wf-sa-039'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/039.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/039.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -607,15 +558,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-040 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-040'(suite) -> []; 'not-wf-sa-040'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/040.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/040.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"<doc></doc>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"<doc></doc>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -623,15 +573,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-041 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-041'(suite) -> []; 'not-wf-sa-041'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/041.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/041.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"<doc></doc>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"<doc></doc>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -639,12 +588,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-042 %% Type: not-wf %% Sections: 3.1 [42] -'not-wf-sa-042'(suite) -> []; 'not-wf-sa-042'(Config) -> {skip, "Fix 1"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/042.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/042.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -652,15 +600,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-043 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-043'(suite) -> []; 'not-wf-sa-043'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/043.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/043.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"Illegal data\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"Illegal data\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -668,15 +615,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-044 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-044'(suite) -> []; 'not-wf-sa-044'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/044.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/044.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"<doc/>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"<doc/>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -684,12 +630,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-045 %% Type: not-wf %% Sections: 3.1 [44] -'not-wf-sa-045'(suite) -> []; 'not-wf-sa-045'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/045.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/045.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -697,12 +642,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-046 %% Type: not-wf %% Sections: 3.1 [40] -'not-wf-sa-046'(suite) -> []; 'not-wf-sa-046'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/046.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/046.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -710,12 +654,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-047 %% Type: not-wf %% Sections: 3.1 [44] -'not-wf-sa-047'(suite) -> []; 'not-wf-sa-047'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/047.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/047.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -723,15 +666,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-048 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-048'(suite) -> []; 'not-wf-sa-048'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/048.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/048.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"<![CDATA[]]>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"<![CDATA[]]>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -739,12 +681,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-049 %% Type: not-wf %% Sections: 3.1 [40] -'not-wf-sa-049'(suite) -> []; 'not-wf-sa-049'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/049.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/049.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -752,12 +693,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-050 %% Type: not-wf %% Sections: 2.1 [1] -'not-wf-sa-050'(suite) -> []; 'not-wf-sa-050'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/050.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/050.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -765,12 +705,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-051 %% Type: not-wf %% Sections: 2.7 [18] -'not-wf-sa-051'(suite) -> []; 'not-wf-sa-051'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/051.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/051.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -778,12 +717,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-052 %% Type: not-wf %% Sections: 4.1 [66] -'not-wf-sa-052'(suite) -> []; 'not-wf-sa-052'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/052.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/052.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -791,12 +729,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-053 %% Type: not-wf %% Sections: 3.1 [42] -'not-wf-sa-053'(suite) -> []; 'not-wf-sa-053'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/053.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/053.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -804,12 +741,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-054 %% Type: not-wf %% Sections: 4.2.2 [75] -'not-wf-sa-054'(suite) -> []; 'not-wf-sa-054'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/054.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/054.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -817,12 +753,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-055 %% Type: not-wf %% Sections: 2.8 [28] -'not-wf-sa-055'(suite) -> []; 'not-wf-sa-055'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/055.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/055.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -830,12 +765,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-056 %% Type: not-wf %% Sections: 2.8 [28] -'not-wf-sa-056'(suite) -> []; 'not-wf-sa-056'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/056.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/056.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -843,12 +777,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-057 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-057'(suite) -> []; 'not-wf-sa-057'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/057.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/057.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -856,12 +789,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-058 %% Type: not-wf %% Sections: 3.3.1 [54] -'not-wf-sa-058'(suite) -> []; 'not-wf-sa-058'(_Config) -> {skip, "Attlist Notation parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/058.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/058.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -869,12 +801,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-059 %% Type: not-wf %% Sections: 3.3.1 [59] -'not-wf-sa-059'(suite) -> []; 'not-wf-sa-059'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/059.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/059.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -882,12 +813,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-060 %% Type: not-wf %% Sections: 3.3.1 [56] -'not-wf-sa-060'(suite) -> []; 'not-wf-sa-060'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/060.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/060.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -895,12 +825,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-061 %% Type: not-wf %% Sections: 4.2.2 [75] -'not-wf-sa-061'(suite) -> []; 'not-wf-sa-061'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/061.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/061.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -908,12 +837,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-062 %% Type: not-wf %% Sections: 4.2 [71] -'not-wf-sa-062'(suite) -> []; 'not-wf-sa-062'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/062.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/062.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -921,12 +849,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-063 %% Type: not-wf %% Sections: 2.8 [29] -'not-wf-sa-063'(suite) -> []; 'not-wf-sa-063'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/063.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/063.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -934,12 +861,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-064 %% Type: not-wf %% Sections: 3.3 [53] -'not-wf-sa-064'(suite) -> []; 'not-wf-sa-064'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/064.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/064.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -947,12 +873,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-065 %% Type: not-wf %% Sections: 3.3 [53] -'not-wf-sa-065'(suite) -> []; 'not-wf-sa-065'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/065.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/065.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -960,12 +885,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-066 %% Type: not-wf %% Sections: 3.3 [52] -'not-wf-sa-066'(suite) -> []; 'not-wf-sa-066'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/066.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/066.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -973,12 +897,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-067 %% Type: not-wf %% Sections: 3.3 [53] -'not-wf-sa-067'(suite) -> []; 'not-wf-sa-067'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/067.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/067.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -986,12 +909,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-068 %% Type: not-wf %% Sections: 3.3.1 [58] -'not-wf-sa-068'(suite) -> []; 'not-wf-sa-068'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/068.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/068.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -999,12 +921,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-069 %% Type: not-wf %% Sections: 4.2.2 [76] -'not-wf-sa-069'(suite) -> []; 'not-wf-sa-069'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/069.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/069.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1012,12 +933,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-070 %% Type: not-wf %% Sections: 2.5 [16] -'not-wf-sa-070'(suite) -> []; 'not-wf-sa-070'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/070.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/070.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1025,12 +945,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-071 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-071'(suite) -> []; 'not-wf-sa-071'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/071.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/071.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1038,12 +957,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-072 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-072'(suite) -> []; 'not-wf-sa-072'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/072.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/072.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1051,12 +969,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-073 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-073'(suite) -> []; 'not-wf-sa-073'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/073.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/073.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1064,12 +981,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-074 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-074'(suite) -> []; 'not-wf-sa-074'(_Config) -> {skip, "Entity not correct tag pair NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/074.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/074.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1077,12 +993,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-075 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-075'(suite) -> []; 'not-wf-sa-075'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/075.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/075.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1090,12 +1005,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-076 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-076'(suite) -> []; 'not-wf-sa-076'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/076.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/076.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1103,12 +1017,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-077 %% Type: not-wf %% Sections: 41. [68] -'not-wf-sa-077'(suite) -> []; 'not-wf-sa-077'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/077.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/077.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1116,12 +1029,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-078 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-078'(suite) -> []; 'not-wf-sa-078'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/078.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/078.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1129,12 +1041,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-079 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-079'(suite) -> []; 'not-wf-sa-079'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/079.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/079.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1142,12 +1053,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-080 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-080'(suite) -> []; 'not-wf-sa-080'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/080.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/080.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1155,12 +1065,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-081 %% Type: not-wf %% Sections: 3.1 -'not-wf-sa-081'(suite) -> []; 'not-wf-sa-081'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/081.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/081.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1168,12 +1077,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-082 %% Type: not-wf %% Sections: 3.1 -'not-wf-sa-082'(suite) -> []; 'not-wf-sa-082'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/082.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/082.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1181,12 +1089,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-083 %% Type: not-wf %% Sections: 4.2.2 [76] -'not-wf-sa-083'(suite) -> []; 'not-wf-sa-083'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/083.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/083.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1194,12 +1101,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-084 %% Type: not-wf %% Sections: 4.1 -'not-wf-sa-084'(suite) -> []; 'not-wf-sa-084'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/084.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/084.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1207,12 +1113,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-085 %% Type: not-wf %% Sections: 2.3 [13] -'not-wf-sa-085'(suite) -> []; 'not-wf-sa-085'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/085.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/085.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1220,12 +1125,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-086 %% Type: not-wf %% Sections: 2.3 [13] -'not-wf-sa-086'(suite) -> []; 'not-wf-sa-086'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/086.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/086.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1233,12 +1137,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-087 %% Type: not-wf %% Sections: 2.3 [13] -'not-wf-sa-087'(suite) -> []; 'not-wf-sa-087'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/087.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/087.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1246,12 +1149,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-088 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-088'(suite) -> []; 'not-wf-sa-088'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/088.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/088.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1259,12 +1161,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-089 %% Type: not-wf %% Sections: 4.2 [74] -'not-wf-sa-089'(suite) -> []; 'not-wf-sa-089'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/089.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/089.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1272,12 +1173,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-090 %% Type: not-wf %% Sections: 2.3 [10] -'not-wf-sa-090'(suite) -> []; 'not-wf-sa-090'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/090.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/090.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1285,12 +1185,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-091 %% Type: not-wf %% Sections: 4.2 [74] -'not-wf-sa-091'(suite) -> []; 'not-wf-sa-091'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/091.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/091.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1298,12 +1197,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-092 %% Type: not-wf %% Sections: 4.5 -'not-wf-sa-092'(suite) -> []; 'not-wf-sa-092'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/092.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/092.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1311,12 +1209,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-093 %% Type: not-wf %% Sections: 4.1 [66] -'not-wf-sa-093'(suite) -> []; 'not-wf-sa-093'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/093.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/093.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1324,12 +1221,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-094 %% Type: not-wf %% Sections: 2.8 [24] -'not-wf-sa-094'(suite) -> []; 'not-wf-sa-094'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/094.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/094.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1337,12 +1233,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-095 %% Type: not-wf %% Sections: 2.8 [23] -'not-wf-sa-095'(suite) -> []; 'not-wf-sa-095'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/095.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/095.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1350,12 +1245,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-096 %% Type: not-wf %% Sections: 2.9 [32] -'not-wf-sa-096'(suite) -> []; 'not-wf-sa-096'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/096.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/096.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1363,12 +1257,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-097 %% Type: not-wf %% Sections: 2.8 [24] -'not-wf-sa-097'(suite) -> []; 'not-wf-sa-097'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/097.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/097.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1376,12 +1269,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-098 %% Type: not-wf %% Sections: 2.8 [23] -'not-wf-sa-098'(suite) -> []; 'not-wf-sa-098'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/098.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/098.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1389,12 +1281,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-099 %% Type: not-wf %% Sections: 2.8 [23] -'not-wf-sa-099'(suite) -> []; 'not-wf-sa-099'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/099.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/099.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1402,12 +1293,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-100 %% Type: not-wf %% Sections: 2.9 [32] -'not-wf-sa-100'(suite) -> []; 'not-wf-sa-100'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/100.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/100.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1415,12 +1305,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-101 %% Type: not-wf %% Sections: 4.3.3 [81] -'not-wf-sa-101'(suite) -> []; 'not-wf-sa-101'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/101.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/101.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1428,12 +1317,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-102 %% Type: not-wf %% Sections: 2.8 [26] -'not-wf-sa-102'(suite) -> []; 'not-wf-sa-102'(Config) -> {skip, "Fix 2"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/102.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/102.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1441,12 +1329,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-103 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-103'(suite) -> []; 'not-wf-sa-103'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/103.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/103.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1454,12 +1341,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-104 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-104'(suite) -> []; 'not-wf-sa-104'(_Config) -> {skip, "Entity not correct tag pair NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/104.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/104.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1467,12 +1353,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-105 %% Type: not-wf %% Sections: 2.7 -'not-wf-sa-105'(suite) -> []; 'not-wf-sa-105'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/105.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/105.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1480,12 +1365,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-106 %% Type: not-wf %% Sections: 4.2 -'not-wf-sa-106'(suite) -> []; 'not-wf-sa-106'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/106.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/106.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1493,12 +1377,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-107 %% Type: not-wf %% Sections: 2.8 [28] -'not-wf-sa-107'(suite) -> []; 'not-wf-sa-107'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/107.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/107.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1506,12 +1389,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-108 %% Type: not-wf %% Sections: 2.7 [19] -'not-wf-sa-108'(suite) -> []; 'not-wf-sa-108'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/108.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/108.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1519,12 +1401,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-109 %% Type: not-wf %% Sections: 4.2 [70] -'not-wf-sa-109'(suite) -> []; 'not-wf-sa-109'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/109.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/109.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1532,15 +1413,14 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-110 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-110'(suite) -> []; 'not-wf-sa-110'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/110.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/110.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"&e;\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"&e;\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1548,12 +1428,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-111 %% Type: not-wf %% Sections: 3.1 [43] -'not-wf-sa-111'(suite) -> []; 'not-wf-sa-111'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/111.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/111.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1561,12 +1440,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-112 %% Type: not-wf %% Sections: 2.7 [19] -'not-wf-sa-112'(suite) -> []; 'not-wf-sa-112'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/112.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/112.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1574,12 +1452,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-113 %% Type: not-wf %% Sections: 2.3 [9] -'not-wf-sa-113'(suite) -> []; 'not-wf-sa-113'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/113.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/113.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1587,12 +1464,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-114 %% Type: not-wf %% Sections: 2.3 [9] -'not-wf-sa-114'(suite) -> []; 'not-wf-sa-114'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/114.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/114.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1600,12 +1476,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-115 %% Type: not-wf %% Sections: 4.5 -'not-wf-sa-115'(suite) -> []; 'not-wf-sa-115'(_Config) -> {skip, "& expansion not correct"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/115.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/115.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1613,12 +1488,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-116 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-116'(suite) -> []; 'not-wf-sa-116'(_Config) -> {skip, "& expansion not correct"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/116.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/116.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1626,12 +1500,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-117 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-117'(suite) -> []; 'not-wf-sa-117'(_Config) -> {skip, "& expansion not correct"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/117.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/117.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1639,12 +1512,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-118 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-118'(suite) -> []; 'not-wf-sa-118'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/118.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/118.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1652,12 +1524,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-119 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-119'(suite) -> []; 'not-wf-sa-119'(_Config) -> {skip, "& expansion not correct"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/119.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/119.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1665,12 +1536,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-120 %% Type: not-wf %% Sections: 4.5 -'not-wf-sa-120'(suite) -> []; 'not-wf-sa-120'(_Config) -> {skip, "& expansion not correct"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/120.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/120.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1678,12 +1548,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-121 %% Type: not-wf %% Sections: 4.1 [68] -'not-wf-sa-121'(suite) -> []; 'not-wf-sa-121'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/121.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/121.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1691,12 +1560,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-122 %% Type: not-wf %% Sections: 3.2.1 [47] -'not-wf-sa-122'(suite) -> []; 'not-wf-sa-122'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/122.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/122.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1704,12 +1572,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-123 %% Type: not-wf %% Sections: 3.2.1 [48] -'not-wf-sa-123'(suite) -> []; 'not-wf-sa-123'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/123.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/123.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1717,12 +1584,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-124 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-124'(suite) -> []; 'not-wf-sa-124'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/124.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/124.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1730,12 +1596,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-125 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-125'(suite) -> []; 'not-wf-sa-125'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/125.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/125.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1743,12 +1608,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-126 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-126'(suite) -> []; 'not-wf-sa-126'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/126.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/126.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1756,12 +1620,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-127 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-127'(suite) -> []; 'not-wf-sa-127'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/127.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/127.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1769,12 +1632,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-128 %% Type: not-wf %% Sections: 2.7 [18] -'not-wf-sa-128'(suite) -> []; 'not-wf-sa-128'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/128.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/128.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1782,12 +1644,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-129 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-129'(suite) -> []; 'not-wf-sa-129'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/129.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/129.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1795,12 +1656,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-130 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-130'(suite) -> []; 'not-wf-sa-130'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/130.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/130.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1808,12 +1668,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-131 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-131'(suite) -> []; 'not-wf-sa-131'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/131.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/131.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1821,12 +1680,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-132 %% Type: not-wf %% Sections: 3.2.1 [50] -'not-wf-sa-132'(suite) -> []; 'not-wf-sa-132'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/132.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/132.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1834,12 +1692,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-133 %% Type: not-wf %% Sections: 3.2.1 -'not-wf-sa-133'(suite) -> []; 'not-wf-sa-133'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/133.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/133.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1847,12 +1704,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-134 %% Type: not-wf %% Sections: 3.2.1 -'not-wf-sa-134'(suite) -> []; 'not-wf-sa-134'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/134.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/134.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1860,12 +1716,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-135 %% Type: not-wf %% Sections: 3.2.1 [47] -'not-wf-sa-135'(suite) -> []; 'not-wf-sa-135'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/135.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/135.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1873,12 +1728,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-136 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-136'(suite) -> []; 'not-wf-sa-136'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/136.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/136.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1886,12 +1740,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-137 %% Type: not-wf %% Sections: 3.2 [45] -'not-wf-sa-137'(suite) -> []; 'not-wf-sa-137'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/137.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/137.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1899,12 +1752,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-138 %% Type: not-wf %% Sections: 3.2.1 [48] -'not-wf-sa-138'(suite) -> []; 'not-wf-sa-138'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/138.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/138.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1912,12 +1764,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-139 %% Type: not-wf %% Sections: 3.2.1 [46] -'not-wf-sa-139'(suite) -> []; 'not-wf-sa-139'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/139.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/139.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1925,12 +1776,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-140 %% Type: not-wf %% Sections: 2.3 [4] -'not-wf-sa-140'(suite) -> []; 'not-wf-sa-140'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/140.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/140.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1938,12 +1788,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-141 %% Type: not-wf %% Sections: 2.3 [5] -'not-wf-sa-141'(suite) -> []; 'not-wf-sa-141'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/141.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/141.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1951,12 +1800,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-142 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-142'(suite) -> []; 'not-wf-sa-142'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/142.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/142.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1964,12 +1812,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-143 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-143'(suite) -> []; 'not-wf-sa-143'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/143.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/143.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1977,12 +1824,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-144 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-144'(suite) -> []; 'not-wf-sa-144'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/144.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/144.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -1990,12 +1836,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-145 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-145'(suite) -> []; 'not-wf-sa-145'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/145.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/145.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2003,12 +1848,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-146 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-146'(suite) -> []; 'not-wf-sa-146'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/146.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/146.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2016,12 +1860,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-147 %% Type: not-wf %% Sections: 2.8 [22] -'not-wf-sa-147'(suite) -> []; 'not-wf-sa-147'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/147.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/147.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2029,12 +1872,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-148 %% Type: not-wf %% Sections: 2.8 [22] -'not-wf-sa-148'(suite) -> []; 'not-wf-sa-148'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/148.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/148.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2042,12 +1884,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-149 %% Type: not-wf %% Sections: 2.8 [28] -'not-wf-sa-149'(suite) -> []; 'not-wf-sa-149'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/149.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/149.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2055,12 +1896,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-150 %% Type: not-wf %% Sections: 3.1 [43] -'not-wf-sa-150'(suite) -> []; 'not-wf-sa-150'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/150.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/150.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2068,16 +1908,15 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-151 %% Type: not-wf %% Sections: 2.8 [27] -'not-wf-sa-151'(suite) -> []; 'not-wf-sa-151'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/151.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/151.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"<?xml version=\"1.0\"?>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - % ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - % ?line check_result(R, "not-wf"). + {ok,_,<<"<?xml version=\"1.0\"?>\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + % R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + % check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2085,12 +1924,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-152 %% Type: not-wf %% Sections: 2.8 [22] -'not-wf-sa-152'(suite) -> []; 'not-wf-sa-152'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/152.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/152.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2098,12 +1936,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-153 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-153'(suite) -> []; 'not-wf-sa-153'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/153.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/153.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2111,12 +1948,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-154 %% Type: not-wf %% Sections: 2.8 2.6 [23, 17] -'not-wf-sa-154'(suite) -> []; 'not-wf-sa-154'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/154.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/154.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2124,12 +1960,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-155 %% Type: not-wf %% Sections: 2.8 2.6 [23, 17] -'not-wf-sa-155'(suite) -> []; 'not-wf-sa-155'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/155.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/155.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2137,12 +1972,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-156 %% Type: not-wf %% Sections: 2.8 2.6 [23, 17] -'not-wf-sa-156'(suite) -> []; 'not-wf-sa-156'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/156.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/156.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2150,12 +1984,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-157 %% Type: not-wf %% Sections: 2.6 [17] -'not-wf-sa-157'(suite) -> []; 'not-wf-sa-157'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/157.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/157.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2163,12 +1996,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-158 %% Type: not-wf %% Sections: 3.3 [52] -'not-wf-sa-158'(suite) -> []; 'not-wf-sa-158'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/158.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/158.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2176,12 +2008,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-159 %% Type: not-wf %% Sections: 2.3 [9] -'not-wf-sa-159'(suite) -> []; 'not-wf-sa-159'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/159.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/159.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2189,12 +2020,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-160 %% Type: not-wf %% Sections: 2.8 -'not-wf-sa-160'(suite) -> []; 'not-wf-sa-160'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/160.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/160.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2202,12 +2032,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-161 %% Type: not-wf %% Sections: 2.8 -'not-wf-sa-161'(suite) -> []; 'not-wf-sa-161'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/161.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/161.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2215,12 +2044,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-162 %% Type: not-wf %% Sections: 2.8 -'not-wf-sa-162'(suite) -> []; 'not-wf-sa-162'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/162.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/162.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2228,12 +2056,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-163 %% Type: not-wf %% Sections: 4.1 [69] -'not-wf-sa-163'(suite) -> []; 'not-wf-sa-163'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/163.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/163.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2241,12 +2068,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-164 %% Type: not-wf %% Sections: 4.1 [69] -'not-wf-sa-164'(suite) -> []; 'not-wf-sa-164'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/164.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/164.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2254,12 +2080,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-165 %% Type: not-wf %% Sections: 4.2 [72] -'not-wf-sa-165'(suite) -> []; 'not-wf-sa-165'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/165.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/165.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2267,12 +2092,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-166 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-166'(suite) -> []; 'not-wf-sa-166'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/166.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/166.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2280,12 +2104,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-167 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-167'(suite) -> []; 'not-wf-sa-167'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/167.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/167.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2293,12 +2116,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-168 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-168'(suite) -> []; 'not-wf-sa-168'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/168.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/168.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2306,12 +2128,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-169 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-169'(suite) -> []; 'not-wf-sa-169'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/169.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/169.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2319,12 +2140,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-170 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-170'(suite) -> []; 'not-wf-sa-170'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/170.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/170.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2332,12 +2152,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-171 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-171'(suite) -> []; 'not-wf-sa-171'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/171.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/171.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2345,12 +2164,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-172 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-172'(suite) -> []; 'not-wf-sa-172'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/172.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/172.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2358,12 +2176,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-173 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-173'(suite) -> []; 'not-wf-sa-173'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/173.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/173.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2371,12 +2188,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-174 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-174'(suite) -> []; 'not-wf-sa-174'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/174.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/174.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2384,12 +2200,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-175 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-175'(suite) -> []; 'not-wf-sa-175'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/175.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/175.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2397,12 +2212,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-176 %% Type: not-wf %% Sections: 3 [39] -'not-wf-sa-176'(suite) -> []; 'not-wf-sa-176'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/176.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/176.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2410,12 +2224,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-177 %% Type: not-wf %% Sections: 2.2 [2] -'not-wf-sa-177'(suite) -> []; 'not-wf-sa-177'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/177.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/177.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2423,12 +2236,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-178 %% Type: not-wf %% Sections: 3.1 [41] -'not-wf-sa-178'(suite) -> []; 'not-wf-sa-178'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/178.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/178.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2436,12 +2248,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-179 %% Type: not-wf %% Sections: 4.1 [66] -'not-wf-sa-179'(suite) -> []; 'not-wf-sa-179'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/179.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/179.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2449,12 +2260,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-180 %% Type: not-wf %% Sections: 4.1 -'not-wf-sa-180'(suite) -> []; 'not-wf-sa-180'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/180.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/180.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2462,12 +2272,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-181 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-181'(suite) -> []; 'not-wf-sa-181'(_Config) -> {skip, "Entity not tag pair NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/181.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/181.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2475,12 +2284,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-182 %% Type: not-wf %% Sections: 4.3.2 -'not-wf-sa-182'(suite) -> []; 'not-wf-sa-182'(_Config) -> {skip, "Entity not tag pair NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/182.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/182.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2488,12 +2296,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-183 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-183'(suite) -> []; 'not-wf-sa-183'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/183.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/183.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2501,12 +2308,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-184 %% Type: not-wf %% Sections: 3.2.2 [51] -'not-wf-sa-184'(suite) -> []; 'not-wf-sa-184'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/184.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/184.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2514,12 +2320,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-185 %% Type: not-wf %% Sections: 4.1 -'not-wf-sa-185'(suite) -> []; 'not-wf-sa-185'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/185.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/185.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2527,12 +2332,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa-186 %% Type: not-wf %% Sections: 3.1 [44] -'not-wf-sa-186'(suite) -> []; 'not-wf-sa-186'(Config) -> {skip, "Fix 2"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/186.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/sa/186.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2540,12 +2344,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-001 %% Type: not-wf %% Sections: 3.4 [62] -'not-wf-not-sa-001'(suite) -> []; 'not-wf-not-sa-001'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/001.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/001.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2553,12 +2356,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-002 %% Type: not-wf %% Sections: 2.6 [17] -'not-wf-not-sa-002'(suite) -> []; 'not-wf-not-sa-002'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/002.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/002.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2566,12 +2368,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-003 %% Type: not-wf %% Sections: 3.4 [62] -'not-wf-not-sa-003'(suite) -> []; 'not-wf-not-sa-003'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/003.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/003.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2579,12 +2380,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-004 %% Type: not-wf %% Sections: 3.4 [62] -'not-wf-not-sa-004'(suite) -> []; 'not-wf-not-sa-004'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/004.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/004.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2592,12 +2392,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-005 %% Type: error %% Sections: 4.1 -'not-wf-not-sa-005'(suite) -> []; 'not-wf-not-sa-005'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/005.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/005.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -2605,12 +2404,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-006 %% Type: not-wf %% Sections: 3.4 [62] -'not-wf-not-sa-006'(suite) -> []; 'not-wf-not-sa-006'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/006.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/006.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2618,12 +2416,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-007 %% Type: not-wf %% Sections: 4.3.2 [79] -'not-wf-not-sa-007'(suite) -> []; 'not-wf-not-sa-007'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/007.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/007.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2631,12 +2428,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-008 %% Type: not-wf %% Sections: 4.1 [69] -'not-wf-not-sa-008'(suite) -> []; 'not-wf-not-sa-008'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/008.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/008.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2644,12 +2440,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-not-sa-009 %% Type: not-wf %% Sections: 2.8 -'not-wf-not-sa-009'(suite) -> []; 'not-wf-not-sa-009'(_Config) -> {skip, "not a complete content in PE NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/009.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/not-sa/009.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2657,12 +2452,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-ext-sa-001 %% Type: not-wf %% Sections: 4.1 -'not-wf-ext-sa-001'(suite) -> []; 'not-wf-ext-sa-001'(Config) -> {skip, "Fix 1"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/001.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/001.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2670,12 +2464,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-ext-sa-002 %% Type: not-wf %% Sections: 4.3.1 4.3.2 [77, 78] -'not-wf-ext-sa-002'(suite) -> []; 'not-wf-ext-sa-002'(Config) -> {skip, "Fix 1"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/002.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/002.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2683,12 +2476,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-ext-sa-003 %% Type: not-wf %% Sections: 2.6 [17] -'not-wf-ext-sa-003'(suite) -> []; 'not-wf-ext-sa-003'(Config) -> {skip, "Fix 1"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/003.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","not-wf/ext-sa/003.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -2696,12 +2488,11 @@ end_per_testcase(_Func,_Config) -> %% ID: invalid--002 %% Type: invalid %% Sections: 3.2.1 -'invalid--002'(suite) -> []; 'invalid--002'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/002.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/002.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -2709,12 +2500,11 @@ end_per_testcase(_Func,_Config) -> %% ID: invalid--005 %% Type: invalid %% Sections: 2.8 -'invalid--005'(suite) -> []; 'invalid--005'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/005.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/005.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -2722,12 +2512,11 @@ end_per_testcase(_Func,_Config) -> %% ID: invalid--006 %% Type: invalid %% Sections: 2.8 -'invalid--006'(suite) -> []; 'invalid--006'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/006.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/006.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -2735,12 +2524,11 @@ end_per_testcase(_Func,_Config) -> %% ID: invalid-not-sa-022 %% Type: invalid %% Sections: 3.4 [62] -'invalid-not-sa-022'(suite) -> []; 'invalid-not-sa-022'(_Config) -> {skip, "DTD element content parsing NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/not-sa/022.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "invalid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","invalid/not-sa/022.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -2748,12 +2536,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-001 %% Type: valid %% Sections: 3.2.2 [51] -'valid-sa-001'(suite) -> []; 'valid-sa-001'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/001.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/001.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2761,12 +2548,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-002 %% Type: valid %% Sections: 3.1 [40] -'valid-sa-002'(suite) -> []; 'valid-sa-002'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/002.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/002.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2774,12 +2560,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-003 %% Type: valid %% Sections: 3.1 [42] -'valid-sa-003'(suite) -> []; 'valid-sa-003'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/003.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/003.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2787,12 +2572,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-004 %% Type: valid %% Sections: 3.1 [41] -'valid-sa-004'(suite) -> []; 'valid-sa-004'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/004.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/004.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2800,12 +2584,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-005 %% Type: valid %% Sections: 3.1 [40] -'valid-sa-005'(suite) -> []; 'valid-sa-005'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/005.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/005.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2813,12 +2596,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-006 %% Type: valid %% Sections: 3.1 [41] -'valid-sa-006'(suite) -> []; 'valid-sa-006'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/006.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/006.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2826,12 +2608,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-007 %% Type: valid %% Sections: 3.1 4.6 [43] -'valid-sa-007'(suite) -> []; 'valid-sa-007'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/007.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/007.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2839,12 +2620,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-008 %% Type: valid %% Sections: 2.4 3.1 [43] -'valid-sa-008'(suite) -> []; 'valid-sa-008'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/008.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/008.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2852,12 +2632,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-009 %% Type: valid %% Sections: 2.3 3.1 [43] -'valid-sa-009'(suite) -> []; 'valid-sa-009'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/009.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/009.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2865,12 +2644,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-010 %% Type: valid %% Sections: 3.1 [40] -'valid-sa-010'(suite) -> []; 'valid-sa-010'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/010.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/010.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2878,12 +2656,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-011 %% Type: valid %% Sections: 3.1 [40] -'valid-sa-011'(suite) -> []; 'valid-sa-011'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/011.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/011.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2891,12 +2668,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-012 %% Type: valid %% Sections: 2.3 [4] -'valid-sa-012'(suite) -> []; 'valid-sa-012'(Config) -> {skip, "Fix 1"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/012.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/012.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2904,12 +2680,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-013 %% Type: valid %% Sections: 2.3 3.1 [13] [40] -'valid-sa-013'(suite) -> []; 'valid-sa-013'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/013.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/013.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2917,12 +2692,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-014 %% Type: valid %% Sections: 2.3 3.1 [13] [40] -'valid-sa-014'(suite) -> []; 'valid-sa-014'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/014.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/014.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2930,12 +2704,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-015 %% Type: valid %% Sections: 2.3 3.1 [13] [40] -'valid-sa-015'(suite) -> []; 'valid-sa-015'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/015.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/015.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2943,12 +2716,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-016 %% Type: valid %% Sections: 2.6 3.1 [16] [43] -'valid-sa-016'(suite) -> []; 'valid-sa-016'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/016.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/016.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2956,12 +2728,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-017 %% Type: valid %% Sections: 2.6 3.1 [16] [43] -'valid-sa-017'(suite) -> []; 'valid-sa-017'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/017.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/017.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2969,12 +2740,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-018 %% Type: valid %% Sections: 2.7 3.1 [18] [43] -'valid-sa-018'(suite) -> []; 'valid-sa-018'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/018.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/018.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2982,12 +2752,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-019 %% Type: valid %% Sections: 2.7 3.1 [18] [43] -'valid-sa-019'(suite) -> []; 'valid-sa-019'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/019.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/019.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -2995,12 +2764,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-020 %% Type: valid %% Sections: 2.7 3.1 [18] [43] -'valid-sa-020'(suite) -> []; 'valid-sa-020'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/020.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/020.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3008,12 +2776,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-021 %% Type: valid %% Sections: 2.5 3.1 [15] [43] -'valid-sa-021'(suite) -> []; 'valid-sa-021'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/021.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/021.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3021,12 +2788,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-022 %% Type: valid %% Sections: 2.5 3.1 [15] [43] -'valid-sa-022'(suite) -> []; 'valid-sa-022'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/022.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/022.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3034,12 +2800,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-023 %% Type: valid %% Sections: 3.1 [43] -'valid-sa-023'(suite) -> []; 'valid-sa-023'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/023.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/023.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3047,12 +2812,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-024 %% Type: valid %% Sections: 3.1 4.1 [43] [66] -'valid-sa-024'(suite) -> []; 'valid-sa-024'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/024.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/024.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3060,12 +2824,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-025 %% Type: valid %% Sections: 3.2 [46] -'valid-sa-025'(suite) -> []; 'valid-sa-025'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/025.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/025.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3073,12 +2836,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-026 %% Type: valid %% Sections: 3.2 [46] -'valid-sa-026'(suite) -> []; 'valid-sa-026'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/026.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/026.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3086,12 +2848,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-027 %% Type: valid %% Sections: 3.2 [46] -'valid-sa-027'(suite) -> []; 'valid-sa-027'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/027.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/027.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3099,12 +2860,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-028 %% Type: valid %% Sections: 2.8 [24] -'valid-sa-028'(suite) -> []; 'valid-sa-028'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/028.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/028.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3112,12 +2872,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-029 %% Type: valid %% Sections: 2.8 [24] -'valid-sa-029'(suite) -> []; 'valid-sa-029'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/029.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/029.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3125,12 +2884,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-030 %% Type: valid %% Sections: 2.8 [25] -'valid-sa-030'(suite) -> []; 'valid-sa-030'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/030.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/030.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3138,12 +2896,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-031 %% Type: valid %% Sections: 4.3.3 [80] -'valid-sa-031'(suite) -> []; 'valid-sa-031'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/031.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/031.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3151,12 +2908,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-032 %% Type: valid %% Sections: 2.9 [32] -'valid-sa-032'(suite) -> []; 'valid-sa-032'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/032.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/032.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3164,12 +2920,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-033 %% Type: valid %% Sections: 2.8 [23] -'valid-sa-033'(suite) -> []; 'valid-sa-033'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/033.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/033.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3177,12 +2932,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-034 %% Type: valid %% Sections: 3.1 [44] -'valid-sa-034'(suite) -> []; 'valid-sa-034'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/034.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/034.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3190,12 +2944,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-035 %% Type: valid %% Sections: 3.1 [44] -'valid-sa-035'(suite) -> []; 'valid-sa-035'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/035.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/035.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3203,12 +2956,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-036 %% Type: valid %% Sections: 2.6 [16] -'valid-sa-036'(suite) -> []; 'valid-sa-036'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/036.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/036.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3216,12 +2968,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-037 %% Type: valid %% Sections: 2.6 [15] -'valid-sa-037'(suite) -> []; 'valid-sa-037'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/037.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/037.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3229,12 +2980,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-038 %% Type: valid %% Sections: 2.6 [15] -'valid-sa-038'(suite) -> []; 'valid-sa-038'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/038.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/038.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3242,12 +2992,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-039 %% Type: valid %% Sections: 2.6 [16] -'valid-sa-039'(suite) -> []; 'valid-sa-039'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/039.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/039.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3255,12 +3004,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-040 %% Type: valid %% Sections: 3.3 3.3.1 [52] [54] -'valid-sa-040'(suite) -> []; 'valid-sa-040'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/040.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/040.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3268,12 +3016,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-041 %% Type: valid %% Sections: 3.3.1 4.1 [54] [66] -'valid-sa-041'(suite) -> []; 'valid-sa-041'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/041.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/041.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3281,12 +3028,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-042 %% Type: valid %% Sections: 3.3.1 4.1 [54] [66] -'valid-sa-042'(suite) -> []; 'valid-sa-042'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/042.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/042.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3294,12 +3040,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-043 %% Type: valid %% Sections: 3.3 -'valid-sa-043'(suite) -> []; 'valid-sa-043'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/043.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/043.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3307,12 +3052,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-044 %% Type: valid %% Sections: 3.1 [44] -'valid-sa-044'(suite) -> []; 'valid-sa-044'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/044.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/044.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3320,12 +3064,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-045 %% Type: valid %% Sections: 3.3 [52] -'valid-sa-045'(suite) -> []; 'valid-sa-045'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/045.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/045.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3333,12 +3076,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-046 %% Type: valid %% Sections: 3.3 [52] -'valid-sa-046'(suite) -> []; 'valid-sa-046'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/046.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/046.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3346,12 +3088,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-047 %% Type: valid %% Sections: 3.1 [43] -'valid-sa-047'(suite) -> []; 'valid-sa-047'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/047.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/047.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3359,12 +3100,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-048 %% Type: valid %% Sections: 2.4 3.1 [14] [43] -'valid-sa-048'(suite) -> []; 'valid-sa-048'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/048.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/048.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3372,12 +3112,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-049 %% Type: valid %% Sections: 2.2 [2] -'valid-sa-049'(suite) -> []; 'valid-sa-049'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/049.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/049.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3385,12 +3124,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-050 %% Type: valid %% Sections: 2.2 [2] -'valid-sa-050'(suite) -> []; 'valid-sa-050'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/050.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/050.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3398,12 +3136,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-051 %% Type: valid %% Sections: 2.2 [2] -'valid-sa-051'(suite) -> []; 'valid-sa-051'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/051.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/051.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3411,12 +3148,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-052 %% Type: valid %% Sections: 2.2 [2] -'valid-sa-052'(suite) -> []; 'valid-sa-052'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/052.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/052.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3424,12 +3160,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-053 %% Type: valid %% Sections: 4.4.2 -'valid-sa-053'(suite) -> []; 'valid-sa-053'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/053.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/053.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3437,12 +3172,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-054 %% Type: valid %% Sections: 3.1 [40] [42] -'valid-sa-054'(suite) -> []; 'valid-sa-054'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/054.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/054.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3450,12 +3184,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-055 %% Type: valid %% Sections: 2.6 2.10 [16] -'valid-sa-055'(suite) -> []; 'valid-sa-055'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/055.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/055.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3463,12 +3196,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-056 %% Type: valid %% Sections: 3.3.1 4.1 [54] [66] -'valid-sa-056'(suite) -> []; 'valid-sa-056'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/056.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/056.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3476,12 +3208,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-057 %% Type: valid %% Sections: 3.2.1 [47] -'valid-sa-057'(suite) -> []; 'valid-sa-057'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/057.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/057.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3489,12 +3220,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-058 %% Type: valid %% Sections: 3.3.3 -'valid-sa-058'(suite) -> []; 'valid-sa-058'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/058.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/058.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3502,12 +3232,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-059 %% Type: valid %% Sections: 3.2 3.3 [46] [53] -'valid-sa-059'(suite) -> []; 'valid-sa-059'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/059.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/059.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3515,12 +3244,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-060 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-060'(suite) -> []; 'valid-sa-060'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/060.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/060.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3528,12 +3256,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-061 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-061'(suite) -> []; 'valid-sa-061'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/061.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/061.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3541,12 +3268,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-062 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-062'(suite) -> []; 'valid-sa-062'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/062.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/062.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3554,12 +3280,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-063 %% Type: valid %% Sections: 2.3 [5] -'valid-sa-063'(suite) -> []; 'valid-sa-063'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/063.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/063.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3567,12 +3292,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-064 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-064'(suite) -> []; 'valid-sa-064'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/064.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/064.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3580,12 +3304,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-065 %% Type: valid %% Sections: 4.5 -'valid-sa-065'(suite) -> []; 'valid-sa-065'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/065.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/065.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3593,12 +3316,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-066 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-066'(suite) -> []; 'valid-sa-066'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/066.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/066.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3606,12 +3328,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-067 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-067'(suite) -> []; 'valid-sa-067'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/067.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/067.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3619,12 +3340,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-068 %% Type: valid %% Sections: 2.11, 4.5 -'valid-sa-068'(suite) -> []; 'valid-sa-068'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/068.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/068.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3632,12 +3352,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-069 %% Type: valid %% Sections: 4.7 -'valid-sa-069'(suite) -> []; 'valid-sa-069'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/069.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/069.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3645,12 +3364,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-070 %% Type: valid %% Sections: 4.4.8 -'valid-sa-070'(suite) -> []; 'valid-sa-070'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/070.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/070.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3658,12 +3376,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-071 %% Type: valid %% Sections: 3.3 3.3.1 [52] [56] -'valid-sa-071'(suite) -> []; 'valid-sa-071'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/071.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/071.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3671,12 +3388,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-072 %% Type: valid %% Sections: 3.3 3.3.1 [52] [56] -'valid-sa-072'(suite) -> []; 'valid-sa-072'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/072.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/072.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3684,12 +3400,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-073 %% Type: valid %% Sections: 3.3 3.3.1 [52] [56] -'valid-sa-073'(suite) -> []; 'valid-sa-073'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/073.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/073.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3697,12 +3412,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-074 %% Type: valid %% Sections: 3.3 3.3.1 [52] [56] -'valid-sa-074'(suite) -> []; 'valid-sa-074'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/074.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/074.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3710,12 +3424,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-075 %% Type: valid %% Sections: 3.3 3.3.1 [52] [56] -'valid-sa-075'(suite) -> []; 'valid-sa-075'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/075.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/075.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3723,12 +3436,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-076 %% Type: valid %% Sections: 3.3.1 -'valid-sa-076'(suite) -> []; 'valid-sa-076'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/076.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/076.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3736,12 +3448,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-077 %% Type: valid %% Sections: 3.3 3.3.1 [52] [54] -'valid-sa-077'(suite) -> []; 'valid-sa-077'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/077.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/077.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3749,12 +3460,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-078 %% Type: valid %% Sections: 3.3 3.3.1 [52] [54] -'valid-sa-078'(suite) -> []; 'valid-sa-078'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/078.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/078.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3762,12 +3472,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-079 %% Type: valid %% Sections: 3.3 3.3.2 [52] [60] -'valid-sa-079'(suite) -> []; 'valid-sa-079'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/079.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/079.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3775,12 +3484,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-080 %% Type: valid %% Sections: 3.3 3.3.2 [52] [60] -'valid-sa-080'(suite) -> []; 'valid-sa-080'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/080.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/080.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3788,12 +3496,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-081 %% Type: valid %% Sections: 3.2.1 [50] -'valid-sa-081'(suite) -> []; 'valid-sa-081'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/081.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/081.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3801,12 +3508,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-082 %% Type: valid %% Sections: 4.2 [72] -'valid-sa-082'(suite) -> []; 'valid-sa-082'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/082.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/082.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3814,12 +3520,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-083 %% Type: valid %% Sections: 4.2 [72] -'valid-sa-083'(suite) -> []; 'valid-sa-083'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/083.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/083.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3827,12 +3532,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-084 %% Type: valid %% Sections: 2.10 -'valid-sa-084'(suite) -> []; 'valid-sa-084'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/084.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/084.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3840,12 +3544,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-085 %% Type: valid %% Sections: 4 -'valid-sa-085'(suite) -> []; 'valid-sa-085'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/085.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/085.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3853,12 +3556,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-086 %% Type: valid %% Sections: 4.2 -'valid-sa-086'(suite) -> []; 'valid-sa-086'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/086.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/086.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3866,12 +3568,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-087 %% Type: valid %% Sections: 4.5 -'valid-sa-087'(suite) -> []; 'valid-sa-087'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/087.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/087.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3879,12 +3580,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-088 %% Type: valid %% Sections: 4.5 -'valid-sa-088'(suite) -> []; 'valid-sa-088'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/088.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/088.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3892,12 +3592,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-089 %% Type: valid %% Sections: 4.1 [66] -'valid-sa-089'(suite) -> []; 'valid-sa-089'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/089.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/089.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3905,12 +3604,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-090 %% Type: valid %% Sections: 3.3.1 -'valid-sa-090'(suite) -> []; 'valid-sa-090'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/090.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/090.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3918,12 +3616,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-091 %% Type: valid %% Sections: 3.3.1 -'valid-sa-091'(suite) -> []; 'valid-sa-091'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/091.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/091.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3931,12 +3628,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-092 %% Type: valid %% Sections: 2.3 2.10 -'valid-sa-092'(suite) -> []; 'valid-sa-092'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/092.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/092.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3944,12 +3640,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-093 %% Type: valid %% Sections: 2.10 -'valid-sa-093'(suite) -> []; 'valid-sa-093'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/093.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/093.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3957,12 +3652,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-094 %% Type: valid %% Sections: 2.8 -'valid-sa-094'(suite) -> []; 'valid-sa-094'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/094.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/094.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3970,12 +3664,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-095 %% Type: valid %% Sections: 3.3.3 -'valid-sa-095'(suite) -> []; 'valid-sa-095'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/095.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/095.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3983,12 +3676,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-096 %% Type: valid %% Sections: 3.3.3 -'valid-sa-096'(suite) -> []; 'valid-sa-096'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/096.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/096.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -3996,12 +3688,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-097 %% Type: valid %% Sections: 3.3 -'valid-sa-097'(suite) -> []; 'valid-sa-097'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/097.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/097.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4009,12 +3700,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-098 %% Type: valid %% Sections: 2.6 2.10 [16] -'valid-sa-098'(suite) -> []; 'valid-sa-098'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/098.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/098.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4022,12 +3712,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-099 %% Type: valid %% Sections: 4.3.3 [81] -'valid-sa-099'(suite) -> []; 'valid-sa-099'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/099.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/099.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4035,12 +3724,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-100 %% Type: valid %% Sections: 2.3 [12] -'valid-sa-100'(suite) -> []; 'valid-sa-100'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/100.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/100.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4048,12 +3736,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-101 %% Type: valid %% Sections: 4.5 -'valid-sa-101'(suite) -> []; 'valid-sa-101'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/101.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/101.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4061,12 +3748,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-102 %% Type: valid %% Sections: 3.3.3 -'valid-sa-102'(suite) -> []; 'valid-sa-102'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/102.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/102.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4074,12 +3760,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-103 %% Type: valid %% Sections: 3.3.3 -'valid-sa-103'(suite) -> []; 'valid-sa-103'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/103.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/103.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4087,12 +3772,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-104 %% Type: valid %% Sections: 3.1 [40] -'valid-sa-104'(suite) -> []; 'valid-sa-104'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/104.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/104.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4100,12 +3784,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-105 %% Type: valid %% Sections: 3.3.3 -'valid-sa-105'(suite) -> []; 'valid-sa-105'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/105.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/105.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4113,12 +3796,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-106 %% Type: valid %% Sections: 3.3.3 -'valid-sa-106'(suite) -> []; 'valid-sa-106'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/106.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/106.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4126,12 +3808,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-107 %% Type: valid %% Sections: 3.3.3 -'valid-sa-107'(suite) -> []; 'valid-sa-107'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/107.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/107.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4139,12 +3820,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-108 %% Type: valid %% Sections: 2.11, 3.3.3 -'valid-sa-108'(suite) -> []; 'valid-sa-108'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/108.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/108.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4152,12 +3832,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-109 %% Type: valid %% Sections: 2.3 3.1 [10][40][41] -'valid-sa-109'(suite) -> []; 'valid-sa-109'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/109.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/109.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4165,12 +3844,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-110 %% Type: valid %% Sections: 3.3.3 -'valid-sa-110'(suite) -> []; 'valid-sa-110'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/110.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/110.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4178,12 +3856,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-111 %% Type: valid %% Sections: 3.3.3 -'valid-sa-111'(suite) -> []; 'valid-sa-111'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/111.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/111.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4191,12 +3868,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-112 %% Type: valid %% Sections: 3.2.1 [48][49] -'valid-sa-112'(suite) -> []; 'valid-sa-112'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/112.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/112.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4204,12 +3880,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-113 %% Type: valid %% Sections: 3.3 [52][53] -'valid-sa-113'(suite) -> []; 'valid-sa-113'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/113.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/113.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4217,12 +3892,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-114 %% Type: valid %% Sections: 2.7 [20] -'valid-sa-114'(suite) -> []; 'valid-sa-114'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/114.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/114.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4230,12 +3904,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-115 %% Type: valid %% Sections: 3.3.3 -'valid-sa-115'(suite) -> []; 'valid-sa-115'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/115.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/115.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4243,12 +3916,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-116 %% Type: valid %% Sections: 2.11 -'valid-sa-116'(suite) -> []; 'valid-sa-116'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/116.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/116.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4256,12 +3928,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-117 %% Type: valid %% Sections: 4.5 -'valid-sa-117'(suite) -> []; 'valid-sa-117'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/117.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/117.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4269,12 +3940,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-118 %% Type: valid %% Sections: 4.5 -'valid-sa-118'(suite) -> []; 'valid-sa-118'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/118.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/118.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4282,12 +3952,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-sa-119 %% Type: valid %% Sections: 2.5 -'valid-sa-119'(suite) -> []; 'valid-sa-119'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/119.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/sa/119.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4295,12 +3964,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-001 %% Type: valid %% Sections: 4.2.2 [75] -'valid-not-sa-001'(suite) -> []; 'valid-not-sa-001'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/001.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/001.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4308,12 +3976,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-002 %% Type: valid %% Sections: 4.2.2 [75] -'valid-not-sa-002'(suite) -> []; 'valid-not-sa-002'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/002.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/002.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4321,12 +3988,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-003 %% Type: valid %% Sections: 4.1 [69] -'valid-not-sa-003'(suite) -> []; 'valid-not-sa-003'(_Config) -> {skip, "external entity NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/003.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/003.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4334,12 +4000,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-004 %% Type: valid %% Sections: 4.1 [69] -'valid-not-sa-004'(suite) -> []; 'valid-not-sa-004'(_Config) -> {skip, "external entity NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/004.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/004.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4347,12 +4012,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-005 %% Type: valid %% Sections: 4.1 [69] -'valid-not-sa-005'(suite) -> []; 'valid-not-sa-005'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/005.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/005.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4360,12 +4024,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-006 %% Type: valid %% Sections: 3.3 [52] -'valid-not-sa-006'(suite) -> []; 'valid-not-sa-006'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/006.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/006.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4373,12 +4036,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-007 %% Type: valid %% Sections: 3.3 [52] -'valid-not-sa-007'(suite) -> []; 'valid-not-sa-007'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/007.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/007.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4386,12 +4048,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-008 %% Type: valid %% Sections: 4.2.2 [75] -'valid-not-sa-008'(suite) -> []; 'valid-not-sa-008'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/008.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/008.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4399,12 +4060,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-009 %% Type: valid %% Sections: 4.2.2 [75] -'valid-not-sa-009'(suite) -> []; 'valid-not-sa-009'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/009.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/009.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4412,12 +4072,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-010 %% Type: valid %% Sections: 3.3 [52] -'valid-not-sa-010'(suite) -> []; 'valid-not-sa-010'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/010.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/010.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4425,12 +4084,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-011 %% Type: valid %% Sections: 4.2 4.2.1 [72] [75] -'valid-not-sa-011'(suite) -> []; 'valid-not-sa-011'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/011.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/011.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4438,12 +4096,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-012 %% Type: valid %% Sections: 4.3.1 [77] -'valid-not-sa-012'(suite) -> []; 'valid-not-sa-012'(Config) -> {skip, "Fix 3"}. - %% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/012.xml"]), - %% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %% ?line check_result(R, "valid"). + %% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/012.xml"]), + %% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4451,12 +4108,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-013 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-013'(suite) -> []; 'valid-not-sa-013'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/013.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/013.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4464,12 +4120,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-014 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-014'(suite) -> []; 'valid-not-sa-014'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/014.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/014.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4477,12 +4132,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-015 %% Type: valid %% Sections: 3.4 [63] -'valid-not-sa-015'(suite) -> []; 'valid-not-sa-015'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/015.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/015.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4490,12 +4144,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-016 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-016'(suite) -> []; 'valid-not-sa-016'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/016.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/016.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4503,12 +4156,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-017 %% Type: valid %% Sections: 4.2 [72] -'valid-not-sa-017'(suite) -> []; 'valid-not-sa-017'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/017.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/017.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4516,12 +4168,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-018 %% Type: valid %% Sections: 4.2.2 [75] -'valid-not-sa-018'(suite) -> []; 'valid-not-sa-018'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/018.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/018.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4529,12 +4180,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-019 %% Type: valid %% Sections: 4.4.8 -'valid-not-sa-019'(suite) -> []; 'valid-not-sa-019'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/019.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/019.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4542,12 +4192,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-020 %% Type: valid %% Sections: 4.4.8 -'valid-not-sa-020'(suite) -> []; 'valid-not-sa-020'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/020.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/020.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4555,12 +4204,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-021 %% Type: valid %% Sections: 4.2 [72] -'valid-not-sa-021'(suite) -> []; 'valid-not-sa-021'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/021.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/021.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4568,12 +4216,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-023 %% Type: valid %% Sections: 2.3 4.1 [10] [69] -'valid-not-sa-023'(suite) -> []; 'valid-not-sa-023'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/023.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/023.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4581,12 +4228,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-024 %% Type: valid %% Sections: 2.8, 4.1 [69] -'valid-not-sa-024'(suite) -> []; 'valid-not-sa-024'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/024.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/024.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4594,12 +4240,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-025 %% Type: valid %% Sections: 4.2 -'valid-not-sa-025'(suite) -> []; 'valid-not-sa-025'(_Config) -> {skip, "partly replacement of markupdecls"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/025.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/025.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4607,12 +4252,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-026 %% Type: valid %% Sections: 3.3 [52] -'valid-not-sa-026'(suite) -> []; 'valid-not-sa-026'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/026.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/026.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4620,12 +4264,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-027 %% Type: valid %% Sections: 4.1 [69] -'valid-not-sa-027'(suite) -> []; 'valid-not-sa-027'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/027.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/027.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4633,12 +4276,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-028 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-028'(suite) -> []; 'valid-not-sa-028'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/028.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/028.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4646,12 +4288,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-029 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-029'(suite) -> []; 'valid-not-sa-029'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/029.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/029.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4659,12 +4300,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-030 %% Type: valid %% Sections: 3.4 [62] -'valid-not-sa-030'(suite) -> []; 'valid-not-sa-030'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/030.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/030.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4672,12 +4312,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-not-sa-031 %% Type: valid %% Sections: 2.7 -'valid-not-sa-031'(suite) -> []; 'valid-not-sa-031'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/031.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/not-sa/031.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4685,12 +4324,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-001 %% Type: valid %% Sections: 2.11 -'valid-ext-sa-001'(suite) -> []; 'valid-ext-sa-001'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/001.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/001.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4698,12 +4336,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-002 %% Type: valid %% Sections: 2.11 -'valid-ext-sa-002'(suite) -> []; 'valid-ext-sa-002'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/002.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/002.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4711,12 +4348,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-003 %% Type: valid %% Sections: 3.1 4.1 [43] [68] -'valid-ext-sa-003'(suite) -> []; 'valid-ext-sa-003'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/003.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/003.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4724,12 +4360,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-004 %% Type: valid %% Sections: 2.11 -'valid-ext-sa-004'(suite) -> []; 'valid-ext-sa-004'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/004.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/004.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4737,12 +4372,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-005 %% Type: valid %% Sections: 3.2.1 4.2.2 [48] [75] -'valid-ext-sa-005'(suite) -> []; 'valid-ext-sa-005'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/005.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/005.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4750,12 +4384,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-006 %% Type: valid %% Sections: 2.11 3.2.1 3.2.2 4.2.2 [48] [51] [75] -'valid-ext-sa-006'(suite) -> []; 'valid-ext-sa-006'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/006.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/006.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4763,12 +4396,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-007 %% Type: valid %% Sections: 4.2.2 4.4.3 [75] -'valid-ext-sa-007'(suite) -> []; 'valid-ext-sa-007'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/007.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/007.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4776,12 +4408,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-008 %% Type: valid %% Sections: 4.2.2 4.3.3. 4.4.3 [75] [80] -'valid-ext-sa-008'(suite) -> []; 'valid-ext-sa-008'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/008.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/008.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4789,12 +4420,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-009 %% Type: valid %% Sections: 2.11 -'valid-ext-sa-009'(suite) -> []; 'valid-ext-sa-009'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/009.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/009.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4802,12 +4432,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-011 %% Type: valid %% Sections: 2.11 4.2.2 [75] -'valid-ext-sa-011'(suite) -> []; 'valid-ext-sa-011'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/011.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/011.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4815,12 +4444,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-012 %% Type: valid %% Sections: 4.2.1 4.2.2 -'valid-ext-sa-012'(suite) -> []; 'valid-ext-sa-012'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/012.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/012.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4828,12 +4456,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-013 %% Type: valid %% Sections: 3.3.3 -'valid-ext-sa-013'(suite) -> []; 'valid-ext-sa-013'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/013.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/013.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4841,12 +4468,11 @@ end_per_testcase(_Func,_Config) -> %% ID: valid-ext-sa-014 %% Type: valid %% Sections: 4.1 4.4.3 [68] -'valid-ext-sa-014'(suite) -> []; 'valid-ext-sa-014'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/014.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"xmltest","valid/ext-sa/014.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -4864,12 +4490,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-euc-jp %% Type: error %% Sections: 4.3.3 [4,84] -'pr-xml-euc-jp'(suite) -> []; 'pr-xml-euc-jp'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-euc-jp.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-euc-jp.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4877,12 +4502,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-iso-2022-jp %% Type: error %% Sections: 4.3.3 [4,84] -'pr-xml-iso-2022-jp'(suite) -> []; 'pr-xml-iso-2022-jp'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-iso-2022-jp.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-iso-2022-jp.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4890,12 +4514,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-little %% Type: valid %% Sections: 4.3.3 [4,84] -'pr-xml-little'(suite) -> []; 'pr-xml-little'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-little-endian.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-little-endian.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4903,12 +4526,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-shift_jis %% Type: error %% Sections: 4.3.3 [4,84] -'pr-xml-shift_jis'(suite) -> []; 'pr-xml-shift_jis'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-shift_jis.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-shift_jis.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4916,12 +4538,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-utf-16 %% Type: valid %% Sections: 4.3.3 [4,84] -'pr-xml-utf-16'(suite) -> []; 'pr-xml-utf-16'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-utf-16.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-utf-16.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4929,12 +4550,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pr-xml-utf-8 %% Type: valid %% Sections: 4.3.3 [4,84] -'pr-xml-utf-8'(suite) -> []; 'pr-xml-utf-8'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-utf-8.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","pr-xml-utf-8.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4942,12 +4562,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-euc-jp %% Type: error %% Sections: 4.3.3 [4,84] -'weekly-euc-jp'(suite) -> []; 'weekly-euc-jp'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-euc-jp.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-euc-jp.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4955,12 +4574,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-iso-2022-jp %% Type: error %% Sections: 4.3.3 [4,84] -'weekly-iso-2022-jp'(suite) -> []; 'weekly-iso-2022-jp'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-iso-2022-jp.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-iso-2022-jp.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4968,12 +4586,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-little %% Type: valid %% Sections: 4.3.3 [4,84] -'weekly-little'(suite) -> []; 'weekly-little'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-little-endian.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-little-endian.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -4981,12 +4598,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-shift_jis %% Type: error %% Sections: 4.3.3 [4,84] -'weekly-shift_jis'(suite) -> []; 'weekly-shift_jis'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-shift_jis.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-shift_jis.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -4994,12 +4610,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-utf-16 %% Type: valid %% Sections: 4.3.3 [4,84] -'weekly-utf-16'(suite) -> []; 'weekly-utf-16'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-utf-16.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-utf-16.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5007,12 +4622,11 @@ end_per_testcase(_Func,_Config) -> %% ID: weekly-utf-8 %% Type: valid %% Sections: 4.3.3 [4,84] -'weekly-utf-8'(suite) -> []; 'weekly-utf-8'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-utf-8.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"japanese","weekly-utf-8.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -5030,12 +4644,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pe01 %% Type: valid %% Sections: 2.8 -'pe01'(suite) -> []; 'pe01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5043,12 +4656,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd00 %% Type: valid %% Sections: 3.2.2 [51] -'dtd00'(suite) -> []; 'dtd00'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/dtd00.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/dtd00.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5056,12 +4668,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd01 %% Type: valid %% Sections: 2.5 [15] -'dtd01'(suite) -> []; 'dtd01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/dtd01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/dtd01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5069,12 +4680,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element %% Type: valid %% Sections: 3 -'element'(suite) -> []; 'element'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/element.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/element.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5082,12 +4692,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ext01 %% Type: valid %% Sections: 4.3.1 4.3.2 [77] [78] -'ext01'(suite) -> []; 'ext01'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/ext01.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/ext01.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5095,12 +4704,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ext02 %% Type: valid %% Sections: 4.3.2 [78] -'ext02'(suite) -> []; 'ext02'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/ext02.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "valid"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/ext02.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5108,12 +4716,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-sa01 %% Type: valid %% Sections: 2.9 -'not-sa01'(suite) -> []; 'not-sa01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5121,12 +4728,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-sa02 %% Type: valid %% Sections: 2.9 -'not-sa02'(suite) -> []; 'not-sa02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5134,12 +4740,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-sa03 %% Type: valid %% Sections: 2.9 -'not-sa03'(suite) -> []; 'not-sa03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5147,12 +4752,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-sa04 %% Type: valid %% Sections: 2.9 -'not-sa04'(suite) -> []; 'not-sa04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/not-sa04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5160,12 +4764,11 @@ end_per_testcase(_Func,_Config) -> %% ID: notation01 %% Type: valid %% Sections: 4.7 [82] -'notation01'(suite) -> []; 'notation01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/notation01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/notation01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5173,12 +4776,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional %% Type: valid %% Sections: 3 3.2.1 [47] -'optional'(suite) -> []; 'optional'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/optional.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/optional.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5186,12 +4788,11 @@ end_per_testcase(_Func,_Config) -> %% ID: required00 %% Type: valid %% Sections: 3.3.2 [60] -'required00'(suite) -> []; 'required00'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/required00.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/required00.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5199,12 +4800,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sa01 %% Type: valid %% Sections: 2.9 [32] -'sa01'(suite) -> []; 'sa01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5212,12 +4812,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sa02 %% Type: valid %% Sections: 2.9 [32] -'sa02'(suite) -> []; 'sa02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5225,12 +4824,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sa03 %% Type: valid %% Sections: 2.9 [32] -'sa03'(suite) -> []; 'sa03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5238,12 +4836,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sa04 %% Type: valid %% Sections: 2.9 [32] -'sa04'(suite) -> []; 'sa04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5251,12 +4848,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sa05 %% Type: valid %% Sections: 2.9 [32] -'sa05'(suite) -> []; 'sa05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sa05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5264,12 +4860,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-sgml01 %% Type: valid %% Sections: 3.3.1 [59] -'v-sgml01'(suite) -> []; 'v-sgml01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sgml01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/sgml01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5277,12 +4872,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang01 %% Type: valid %% Sections: 2.12 [35] -'v-lang01'(suite) -> []; 'v-lang01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5290,12 +4884,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang02 %% Type: valid %% Sections: 2.12 [35] -'v-lang02'(suite) -> []; 'v-lang02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5303,12 +4896,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang03 %% Type: valid %% Sections: 2.12 [36] -'v-lang03'(suite) -> []; 'v-lang03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5316,12 +4908,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang04 %% Type: valid %% Sections: 2.12 [37] -'v-lang04'(suite) -> []; 'v-lang04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5329,12 +4920,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang05 %% Type: valid %% Sections: 2.12 [35] -'v-lang05'(suite) -> []; 'v-lang05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5342,12 +4932,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-lang06 %% Type: valid %% Sections: 2.12 [37] -'v-lang06'(suite) -> []; 'v-lang06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/v-lang06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5355,12 +4944,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-pe00 %% Type: valid %% Sections: 4.5 -'v-pe00'(suite) -> []; 'v-pe00'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe00.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe00.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5368,12 +4956,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-pe03 %% Type: valid %% Sections: 4.5 -'v-pe03'(suite) -> []; 'v-pe03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5381,12 +4968,11 @@ end_per_testcase(_Func,_Config) -> %% ID: v-pe02 %% Type: valid %% Sections: 4.5 -'v-pe02'(suite) -> []; 'v-pe02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","valid/pe02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -5394,12 +4980,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-dtd01 %% Type: invalid %% Sections: 3.2.2 -'inv-dtd01'(suite) -> []; 'inv-dtd01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5407,12 +4992,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-dtd02 %% Type: invalid %% Sections: 4.2.2 -'inv-dtd02'(suite) -> []; 'inv-dtd02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5420,12 +5004,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-dtd03 %% Type: invalid %% Sections: 3 -'inv-dtd03'(suite) -> []; 'inv-dtd03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/dtd03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5433,12 +5016,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el01 %% Type: invalid %% Sections: 3 -'el01'(suite) -> []; 'el01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5446,12 +5028,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el02 %% Type: invalid %% Sections: 3 -'el02'(suite) -> []; 'el02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5459,12 +5040,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el03 %% Type: invalid %% Sections: 3 -'el03'(suite) -> []; 'el03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5472,12 +5052,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el04 %% Type: invalid %% Sections: 3.2 -'el04'(suite) -> []; 'el04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5485,12 +5064,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el05 %% Type: invalid %% Sections: 3.2.2 -'el05'(suite) -> []; 'el05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5498,12 +5076,11 @@ end_per_testcase(_Func,_Config) -> %% ID: el06 %% Type: invalid %% Sections: 3 -'el06'(suite) -> []; 'el06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/el06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5511,12 +5088,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id01 %% Type: invalid %% Sections: 3.3.1 -'id01'(suite) -> []; 'id01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5524,12 +5100,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id02 %% Type: invalid %% Sections: 3.3.1 -'id02'(suite) -> []; 'id02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5537,12 +5112,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id03 %% Type: invalid %% Sections: 3.3.1 -'id03'(suite) -> []; 'id03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5550,12 +5124,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id04 %% Type: invalid %% Sections: 3.3.1 -'id04'(suite) -> []; 'id04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5563,12 +5136,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id05 %% Type: invalid %% Sections: 3.3.1 -'id05'(suite) -> []; 'id05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5576,12 +5148,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id06 %% Type: invalid %% Sections: 3.3.1 -'id06'(suite) -> []; 'id06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5589,12 +5160,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id07 %% Type: invalid %% Sections: 3.3.1 -'id07'(suite) -> []; 'id07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5602,12 +5172,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id08 %% Type: invalid %% Sections: 3.3.1 -'id08'(suite) -> []; 'id08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5615,12 +5184,11 @@ end_per_testcase(_Func,_Config) -> %% ID: id09 %% Type: invalid %% Sections: 3.3.1 -'id09'(suite) -> []; 'id09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/id09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5628,12 +5196,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa01 %% Type: invalid %% Sections: 2.9 -'inv-not-sa01'(suite) -> []; 'inv-not-sa01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5641,12 +5208,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa02 %% Type: invalid %% Sections: 2.9 -'inv-not-sa02'(suite) -> []; 'inv-not-sa02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5654,12 +5220,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa04 %% Type: invalid %% Sections: 2.9 -'inv-not-sa04'(suite) -> []; 'inv-not-sa04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5667,12 +5232,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa05 %% Type: invalid %% Sections: 2.9 -'inv-not-sa05'(suite) -> []; 'inv-not-sa05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5680,12 +5244,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa06 %% Type: invalid %% Sections: 2.9 -'inv-not-sa06'(suite) -> []; 'inv-not-sa06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5693,12 +5256,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa07 %% Type: invalid %% Sections: 2.9 -'inv-not-sa07'(suite) -> []; 'inv-not-sa07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5706,12 +5268,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa08 %% Type: invalid %% Sections: 2.9 -'inv-not-sa08'(suite) -> []; 'inv-not-sa08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5719,12 +5280,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa09 %% Type: invalid %% Sections: 2.9 -'inv-not-sa09'(suite) -> []; 'inv-not-sa09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5732,12 +5292,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa10 %% Type: invalid %% Sections: 2.9 -'inv-not-sa10'(suite) -> []; 'inv-not-sa10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5745,12 +5304,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa11 %% Type: invalid %% Sections: 2.9 -'inv-not-sa11'(suite) -> []; 'inv-not-sa11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5758,12 +5316,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa12 %% Type: invalid %% Sections: 2.9 -'inv-not-sa12'(suite) -> []; 'inv-not-sa12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5771,12 +5328,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa13 %% Type: invalid %% Sections: 2.9 -'inv-not-sa13'(suite) -> []; 'inv-not-sa13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5784,12 +5340,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-not-sa14 %% Type: invalid %% Sections: 3 -'inv-not-sa14'(suite) -> []; 'inv-not-sa14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/not-sa14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5797,12 +5352,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional01 %% Type: invalid %% Sections: 3 -'optional01'(suite) -> []; 'optional01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5810,12 +5364,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional02 %% Type: invalid %% Sections: 3 -'optional02'(suite) -> []; 'optional02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5823,12 +5376,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional03 %% Type: invalid %% Sections: 3 -'optional03'(suite) -> []; 'optional03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5836,12 +5388,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional04 %% Type: invalid %% Sections: 3 -'optional04'(suite) -> []; 'optional04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5849,12 +5400,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional05 %% Type: invalid %% Sections: 3 -'optional05'(suite) -> []; 'optional05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5862,12 +5412,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional06 %% Type: invalid %% Sections: 3 -'optional06'(suite) -> []; 'optional06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5875,12 +5424,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional07 %% Type: invalid %% Sections: 3 -'optional07'(suite) -> []; 'optional07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5888,12 +5436,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional08 %% Type: invalid %% Sections: 3 -'optional08'(suite) -> []; 'optional08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5901,12 +5448,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional09 %% Type: invalid %% Sections: 3 -'optional09'(suite) -> []; 'optional09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5914,12 +5460,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional10 %% Type: invalid %% Sections: 3 -'optional10'(suite) -> []; 'optional10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5927,12 +5472,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional11 %% Type: invalid %% Sections: 3 -'optional11'(suite) -> []; 'optional11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5940,12 +5484,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional12 %% Type: invalid %% Sections: 3 -'optional12'(suite) -> []; 'optional12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5953,12 +5496,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional13 %% Type: invalid %% Sections: 3 -'optional13'(suite) -> []; 'optional13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5966,12 +5508,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional14 %% Type: invalid %% Sections: 3 -'optional14'(suite) -> []; 'optional14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5979,12 +5520,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional20 %% Type: invalid %% Sections: 3 -'optional20'(suite) -> []; 'optional20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -5992,12 +5532,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional21 %% Type: invalid %% Sections: 3 -'optional21'(suite) -> []; 'optional21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6005,12 +5544,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional22 %% Type: invalid %% Sections: 3 -'optional22'(suite) -> []; 'optional22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6018,12 +5556,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional23 %% Type: invalid %% Sections: 3 -'optional23'(suite) -> []; 'optional23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6031,12 +5568,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional24 %% Type: invalid %% Sections: 3 -'optional24'(suite) -> []; 'optional24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6044,12 +5580,11 @@ end_per_testcase(_Func,_Config) -> %% ID: optional25 %% Type: invalid %% Sections: 3 -'optional25'(suite) -> []; 'optional25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/optional25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6057,12 +5592,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-required00 %% Type: invalid %% Sections: 3.3.2 -'inv-required00'(suite) -> []; 'inv-required00'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required00.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required00.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6070,12 +5604,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-required01 %% Type: invalid %% Sections: 3.1 2.10 -'inv-required01'(suite) -> []; 'inv-required01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6083,12 +5616,11 @@ end_per_testcase(_Func,_Config) -> %% ID: inv-required02 %% Type: invalid %% Sections: 3.1 2.12 -'inv-required02'(suite) -> []; 'inv-required02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/required02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6096,12 +5628,11 @@ end_per_testcase(_Func,_Config) -> %% ID: root %% Type: invalid %% Sections: 2.8 -'root'(suite) -> []; 'root'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/root.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/root.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6109,12 +5640,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr01 %% Type: invalid %% Sections: 3.3.1 -'attr01'(suite) -> []; 'attr01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6122,12 +5652,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr02 %% Type: invalid %% Sections: 3.3.1 -'attr02'(suite) -> []; 'attr02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6135,12 +5664,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr03 %% Type: invalid %% Sections: 3.3.1 -'attr03'(suite) -> []; 'attr03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6148,12 +5676,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr04 %% Type: invalid %% Sections: 3.3.1 -'attr04'(suite) -> []; 'attr04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6161,12 +5688,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr05 %% Type: invalid %% Sections: 3.3.1 -'attr05'(suite) -> []; 'attr05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6174,12 +5700,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr06 %% Type: invalid %% Sections: 3.3.1 -'attr06'(suite) -> []; 'attr06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6187,12 +5712,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr07 %% Type: invalid %% Sections: 3.3.1 -'attr07'(suite) -> []; 'attr07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6200,12 +5724,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr08 %% Type: invalid %% Sections: 3.3.2 -'attr08'(suite) -> []; 'attr08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6213,12 +5736,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr09 %% Type: invalid %% Sections: 3.3.2 -'attr09'(suite) -> []; 'attr09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6226,12 +5748,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr10 %% Type: invalid %% Sections: 3.3.2 -'attr10'(suite) -> []; 'attr10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6239,12 +5760,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr11 %% Type: invalid %% Sections: 3.3.2 -'attr11'(suite) -> []; 'attr11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6252,12 +5772,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr12 %% Type: invalid %% Sections: 3.3.2 -'attr12'(suite) -> []; 'attr12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6265,12 +5784,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr13 %% Type: invalid %% Sections: 3.3.2 -'attr13'(suite) -> []; 'attr13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6278,12 +5796,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr14 %% Type: invalid %% Sections: 3.3.2 -'attr14'(suite) -> []; 'attr14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6291,12 +5808,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr15 %% Type: invalid %% Sections: 3.3.2 -'attr15'(suite) -> []; 'attr15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6304,12 +5820,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attr16 %% Type: invalid %% Sections: 3.3.2 -'attr16'(suite) -> []; 'attr16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/attr16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6317,12 +5832,11 @@ end_per_testcase(_Func,_Config) -> %% ID: utf16b %% Type: invalid %% Sections: 4.3.3 2.8 -'utf16b'(suite) -> []; 'utf16b'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/utf16b.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/utf16b.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6330,12 +5844,11 @@ end_per_testcase(_Func,_Config) -> %% ID: utf16l %% Type: invalid %% Sections: 4.3.3 2.8 -'utf16l'(suite) -> []; 'utf16l'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/utf16l.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/utf16l.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6343,12 +5856,11 @@ end_per_testcase(_Func,_Config) -> %% ID: empty %% Type: invalid %% Sections: 2.4 2.7 [18] 3 -'empty'(suite) -> []; 'empty'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/empty.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","invalid/empty.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -6356,12 +5868,11 @@ end_per_testcase(_Func,_Config) -> %% ID: not-wf-sa03 %% Type: not-wf %% Sections: 2.9 -'not-wf-sa03'(suite) -> []; 'not-wf-sa03'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/not-sa03.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/not-sa03.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6369,12 +5880,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist01 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist01'(suite) -> []; 'attlist01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6382,12 +5892,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist02 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist02'(suite) -> []; 'attlist02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6395,12 +5904,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist03 %% Type: not-wf %% Sections: 3.3.1 [59] -'attlist03'(suite) -> []; 'attlist03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6408,12 +5916,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist04 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist04'(suite) -> []; 'attlist04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6421,12 +5928,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist05 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist05'(suite) -> []; 'attlist05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6434,12 +5940,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist06 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist06'(suite) -> []; 'attlist06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6447,12 +5952,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist07 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist07'(suite) -> []; 'attlist07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6460,12 +5964,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist08 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist08'(suite) -> []; 'attlist08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6473,12 +5976,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist09 %% Type: not-wf %% Sections: 3.3.1 [56] -'attlist09'(suite) -> []; 'attlist09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6486,12 +5988,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist10 %% Type: not-wf %% Sections: 3.1 [40] -'attlist10'(suite) -> []; 'attlist10'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist10.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist10.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6499,12 +6000,11 @@ end_per_testcase(_Func,_Config) -> %% ID: attlist11 %% Type: not-wf %% Sections: 3.1 [44] -'attlist11'(suite) -> []; 'attlist11'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist11.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/attlist11.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6512,12 +6012,11 @@ end_per_testcase(_Func,_Config) -> %% ID: cond01 %% Type: not-wf %% Sections: 3.4 [61] -'cond01'(suite) -> []; 'cond01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/cond01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/cond01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6525,12 +6024,11 @@ end_per_testcase(_Func,_Config) -> %% ID: cond02 %% Type: not-wf %% Sections: 3.4 [61] -'cond02'(suite) -> []; 'cond02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/cond02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/cond02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6538,12 +6036,11 @@ end_per_testcase(_Func,_Config) -> %% ID: content01 %% Type: not-wf %% Sections: 3.2.1 [48] -'content01'(suite) -> []; 'content01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6551,12 +6048,11 @@ end_per_testcase(_Func,_Config) -> %% ID: content02 %% Type: not-wf %% Sections: 3.2.1 [48] -'content02'(suite) -> []; 'content02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6564,12 +6060,11 @@ end_per_testcase(_Func,_Config) -> %% ID: content03 %% Type: not-wf %% Sections: 3.2.1 [48] -'content03'(suite) -> []; 'content03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/content03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6577,12 +6072,11 @@ end_per_testcase(_Func,_Config) -> %% ID: decl01 %% Type: not-wf %% Sections: 4.3.1 [77] -'decl01'(suite) -> []; 'decl01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/decl01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/decl01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6590,12 +6084,11 @@ end_per_testcase(_Func,_Config) -> %% ID: nwf-dtd00 %% Type: not-wf %% Sections: 3.2.1 [55] -'nwf-dtd00'(suite) -> []; 'nwf-dtd00'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd00.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd00.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6603,12 +6096,11 @@ end_per_testcase(_Func,_Config) -> %% ID: nwf-dtd01 %% Type: not-wf %% Sections: 3.2.1 [55] -'nwf-dtd01'(suite) -> []; 'nwf-dtd01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6616,12 +6108,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd02 %% Type: not-wf %% Sections: 4.1 [69] -'dtd02'(suite) -> []; 'dtd02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6629,12 +6120,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd03 %% Type: not-wf %% Sections: 4.1 [69] -'dtd03'(suite) -> []; 'dtd03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6642,12 +6132,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd04 %% Type: not-wf %% Sections: 4.2.2 [75] -'dtd04'(suite) -> []; 'dtd04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6655,12 +6144,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd05 %% Type: not-wf %% Sections: 4.2.2 [75] -'dtd05'(suite) -> []; 'dtd05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6668,12 +6156,11 @@ end_per_testcase(_Func,_Config) -> %% ID: dtd07 %% Type: not-wf %% Sections: 4.3.1 [77] -'dtd07'(suite) -> []; 'dtd07'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/dtd07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6681,12 +6168,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element00 %% Type: not-wf %% Sections: 3.1 [42] -'element00'(suite) -> []; 'element00'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element00.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element00.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6694,12 +6180,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element01 %% Type: not-wf %% Sections: 3.1 [42] -'element01'(suite) -> []; 'element01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6707,12 +6192,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element02 %% Type: not-wf %% Sections: 3.1 [43] -'element02'(suite) -> []; 'element02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6720,12 +6204,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element03 %% Type: not-wf %% Sections: 3.1 [43] -'element03'(suite) -> []; 'element03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6733,12 +6216,11 @@ end_per_testcase(_Func,_Config) -> %% ID: element04 %% Type: not-wf %% Sections: 3.1 [43] -'element04'(suite) -> []; 'element04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/element04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6746,12 +6228,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding01 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding01'(suite) -> []; 'encoding01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6759,12 +6240,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding02 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding02'(suite) -> []; 'encoding02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6772,12 +6252,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding03 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding03'(suite) -> []; 'encoding03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6785,12 +6264,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding04 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding04'(suite) -> []; 'encoding04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6798,12 +6276,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding05 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding05'(suite) -> []; 'encoding05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6811,12 +6288,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding06 %% Type: not-wf %% Sections: 4.3.3 [81] -'encoding06'(suite) -> []; 'encoding06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6824,12 +6300,11 @@ end_per_testcase(_Func,_Config) -> %% ID: encoding07 %% Type: not-wf %% Sections: 4.3.1 [77] -'encoding07'(suite) -> []; 'encoding07'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/encoding07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6837,12 +6312,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pi %% Type: not-wf %% Sections: 2.6 [16] -'pi'(suite) -> []; 'pi'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pi.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pi.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6850,12 +6324,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pubid01 %% Type: not-wf %% Sections: 2.3 [12] -'pubid01'(suite) -> []; 'pubid01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6863,12 +6336,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pubid02 %% Type: not-wf %% Sections: 2.3 [12] -'pubid02'(suite) -> []; 'pubid02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6876,12 +6348,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pubid03 %% Type: not-wf %% Sections: 2.3 [12] -'pubid03'(suite) -> []; 'pubid03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6889,12 +6360,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pubid04 %% Type: not-wf %% Sections: 2.3 [12] -'pubid04'(suite) -> []; 'pubid04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6902,12 +6372,11 @@ end_per_testcase(_Func,_Config) -> %% ID: pubid05 %% Type: not-wf %% Sections: 2.3 [12] -'pubid05'(suite) -> []; 'pubid05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/pubid05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6915,12 +6384,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml01 %% Type: not-wf %% Sections: 3 [39] -'sgml01'(suite) -> []; 'sgml01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6928,12 +6396,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml02 %% Type: not-wf %% Sections: 2.8 -'sgml02'(suite) -> []; 'sgml02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6941,12 +6408,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml03 %% Type: not-wf %% Sections: 2.5 [15] -'sgml03'(suite) -> []; 'sgml03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6954,12 +6420,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml04 %% Type: not-wf %% Sections: 3.3 [52] -'sgml04'(suite) -> []; 'sgml04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6967,12 +6432,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml05 %% Type: not-wf %% Sections: 3.2 [45] -'sgml05'(suite) -> []; 'sgml05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6980,12 +6444,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml06 %% Type: not-wf %% Sections: 3.3 [52] -'sgml06'(suite) -> []; 'sgml06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -6993,12 +6456,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml07 %% Type: not-wf %% Sections: 3.2 [45] -'sgml07'(suite) -> []; 'sgml07'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7006,12 +6468,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml08 %% Type: not-wf %% Sections: 3.2 [45] -'sgml08'(suite) -> []; 'sgml08'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml08.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml08.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7019,12 +6480,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml09 %% Type: not-wf %% Sections: 3.2 [45] -'sgml09'(suite) -> []; 'sgml09'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml09.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml09.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7032,12 +6492,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml10 %% Type: not-wf %% Sections: 3.2 [45] -'sgml10'(suite) -> []; 'sgml10'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml10.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml10.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7045,12 +6504,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml11 %% Type: not-wf %% Sections: 3.2 [46] -'sgml11'(suite) -> []; 'sgml11'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml11.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml11.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7058,12 +6516,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml12 %% Type: not-wf %% Sections: 3.2 [46] -'sgml12'(suite) -> []; 'sgml12'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml12.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml12.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7071,12 +6528,11 @@ end_per_testcase(_Func,_Config) -> %% ID: sgml13 %% Type: not-wf %% Sections: 3.2.1 [47] -'sgml13'(suite) -> []; 'sgml13'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml13.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/sgml13.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -7084,12 +6540,11 @@ end_per_testcase(_Func,_Config) -> %% ID: uri01 %% Type: error %% Sections: 4.2.2 [75] -'uri01'(suite) -> []; 'uri01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/uri01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "error"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"sun","not-wf/uri01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Cases @@ -7102,12 +6557,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01pass2 %% Type: valid %% Sections: 2.2 [1] -'o-p01pass2'(suite) -> []; 'o-p01pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7115,12 +6569,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p06pass1 %% Type: valid %% Sections: 2.3 [6] -'o-p06pass1'(suite) -> []; 'o-p06pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p06pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p06pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7128,12 +6581,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p07pass1 %% Type: valid %% Sections: 2.3 [7] -'o-p07pass1'(suite) -> []; 'o-p07pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p07pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p07pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7141,12 +6593,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p08pass1 %% Type: valid %% Sections: 2.3 [8] -'o-p08pass1'(suite) -> []; 'o-p08pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7154,12 +6605,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09pass1 %% Type: valid %% Sections: 2.3 [9] -'o-p09pass1'(suite) -> []; 'o-p09pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7167,12 +6617,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12pass1 %% Type: valid %% Sections: 2.3 [12] -'o-p12pass1'(suite) -> []; 'o-p12pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7180,12 +6629,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass4 %% Type: valid %% Sections: 2.8 [22] -'o-p22pass4'(suite) -> []; 'o-p22pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7193,12 +6641,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass5 %% Type: valid %% Sections: 2.8 [22] -'o-p22pass5'(suite) -> []; 'o-p22pass5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7206,12 +6653,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass6 %% Type: valid %% Sections: 2.8 [22] -'o-p22pass6'(suite) -> []; 'o-p22pass6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7219,12 +6665,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p28pass1 %% Type: valid %% Sections: 3.1 [43] [44] -'o-p28pass1'(suite) -> []; 'o-p28pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7232,12 +6677,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p28pass3 %% Type: valid %% Sections: 2.8 4.1 [28] [69] -'o-p28pass3'(suite) -> []; 'o-p28pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7245,12 +6689,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p28pass4 %% Type: valid %% Sections: 2.8 4.2.2 [28] [75] -'o-p28pass4'(suite) -> []; 'o-p28pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7258,12 +6701,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p28pass5 %% Type: valid %% Sections: 2.8 4.1 [28] [69] -'o-p28pass5'(suite) -> []; 'o-p28pass5'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass5.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28pass5.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7271,12 +6713,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p29pass1 %% Type: valid %% Sections: 2.8 [29] -'o-p29pass1'(suite) -> []; 'o-p29pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p29pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p29pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7284,12 +6725,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p30pass1 %% Type: valid %% Sections: 2.8 4.2.2 [30] [75] -'o-p30pass1'(suite) -> []; 'o-p30pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7297,12 +6737,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p30pass2 %% Type: valid %% Sections: 2.8 4.2.2 4.3.1 [30] [75] [77] -'o-p30pass2'(suite) -> []; 'o-p30pass2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30pass2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30pass2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7310,12 +6749,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p31pass1 %% Type: valid %% Sections: 2.8 [31] -'o-p31pass1'(suite) -> []; 'o-p31pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7323,12 +6761,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p31pass2 %% Type: valid %% Sections: 2.8 3.4 4.2.2 [31] [62] [63] [75] -'o-p31pass2'(suite) -> []; 'o-p31pass2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31pass2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31pass2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7336,12 +6773,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p43pass1 %% Type: valid %% Sections: 2.4 2.5 2.6 2.7 [15] [16] [18] -'o-p43pass1'(suite) -> []; 'o-p43pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7349,12 +6785,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p45pass1 %% Type: valid %% Sections: 3.2 [45] -'o-p45pass1'(suite) -> []; 'o-p45pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7362,12 +6797,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46pass1 %% Type: valid %% Sections: 3.2 3.2.1 3.2.2 [45] [46] [47] [51] -'o-p46pass1'(suite) -> []; 'o-p46pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7375,12 +6809,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p47pass1 %% Type: valid %% Sections: 3.2 3.2.1 [45] [46] [47] -'o-p47pass1'(suite) -> []; 'o-p47pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7388,12 +6821,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p48pass1 %% Type: valid %% Sections: 3.2 3.2.1 [45] [46] [47] -'o-p48pass1'(suite) -> []; 'o-p48pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7401,12 +6833,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p49pass1 %% Type: valid %% Sections: 3.2 3.2.1 [45] [46] [47] -'o-p49pass1'(suite) -> []; 'o-p49pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p49pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p49pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7414,12 +6845,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p50pass1 %% Type: valid %% Sections: 3.2 3.2.1 [45] [46] [47] -'o-p50pass1'(suite) -> []; 'o-p50pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p50pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p50pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7427,12 +6857,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51pass1 %% Type: valid %% Sections: 3.2.2 [51] -'o-p51pass1'(suite) -> []; 'o-p51pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7440,12 +6869,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p52pass1 %% Type: valid %% Sections: 3.3 [52] -'o-p52pass1'(suite) -> []; 'o-p52pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7453,12 +6881,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53pass1 %% Type: valid %% Sections: 3.3 [53] -'o-p53pass1'(suite) -> []; 'o-p53pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7466,12 +6893,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p54pass1 %% Type: valid %% Sections: 3.3.1 [54] -'o-p54pass1'(suite) -> []; 'o-p54pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p54pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p54pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7479,12 +6905,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p55pass1 %% Type: valid %% Sections: 3.3.1 [55] -'o-p55pass1'(suite) -> []; 'o-p55pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p55pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p55pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7492,12 +6917,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56pass1 %% Type: valid %% Sections: 3.3.1 [56] -'o-p56pass1'(suite) -> []; 'o-p56pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7505,12 +6929,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p57pass1 %% Type: valid %% Sections: 3.3.1 [57] -'o-p57pass1'(suite) -> []; 'o-p57pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p57pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p57pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7518,12 +6941,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58pass1 %% Type: valid %% Sections: 3.3.1 [58] -'o-p58pass1'(suite) -> []; 'o-p58pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7531,12 +6953,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p59pass1 %% Type: valid %% Sections: 3.3.1 [59] -'o-p59pass1'(suite) -> []; 'o-p59pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7544,12 +6965,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60pass1 %% Type: valid %% Sections: 3.3.2 [60] -'o-p60pass1'(suite) -> []; 'o-p60pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7557,12 +6977,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p61pass1 %% Type: valid %% Sections: 3.4 [61] -'o-p61pass1'(suite) -> []; 'o-p61pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p61pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p61pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7570,12 +6989,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p62pass1 %% Type: valid %% Sections: 3.4 [62] -'o-p62pass1'(suite) -> []; 'o-p62pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7583,12 +7001,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p63pass1 %% Type: valid %% Sections: 3.4 [63] -'o-p63pass1'(suite) -> []; 'o-p63pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7596,12 +7013,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p64pass1 %% Type: valid %% Sections: 3.4 [64] -'o-p64pass1'(suite) -> []; 'o-p64pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7609,12 +7025,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p68pass1 %% Type: valid %% Sections: 4.1 [68] -'o-p68pass1'(suite) -> []; 'o-p68pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7622,12 +7037,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p69pass1 %% Type: valid %% Sections: 4.1 [69] -'o-p69pass1'(suite) -> []; 'o-p69pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7635,12 +7049,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p70pass1 %% Type: valid %% Sections: 4.2 [70] -'o-p70pass1'(suite) -> []; 'o-p70pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p70pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p70pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7648,12 +7061,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p71pass1 %% Type: valid %% Sections: 4.2 [71] -'o-p71pass1'(suite) -> []; 'o-p71pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7661,12 +7073,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p72pass1 %% Type: valid %% Sections: 4.2 [72] -'o-p72pass1'(suite) -> []; 'o-p72pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7674,12 +7085,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73pass1 %% Type: valid %% Sections: 4.2 [73] -'o-p73pass1'(suite) -> []; 'o-p73pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7687,12 +7097,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p76pass1 %% Type: valid %% Sections: 4.2.2 [76] -'o-p76pass1'(suite) -> []; 'o-p76pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -7700,12 +7109,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01pass1 %% Type: invalid %% Sections: 2.1 [1] -'o-p01pass1'(suite) -> []; 'o-p01pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7713,12 +7121,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01pass3 %% Type: invalid %% Sections: 2.1 [1] -'o-p01pass3'(suite) -> []; 'o-p01pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7726,12 +7133,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03pass1 %% Type: invalid %% Sections: 2.3 [3] -'o-p03pass1'(suite) -> []; 'o-p03pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7739,12 +7145,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p04pass1 %% Type: invalid %% Sections: 2.3 [4] -'o-p04pass1'(suite) -> []; 'o-p04pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7752,12 +7157,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05pass1 %% Type: invalid %% Sections: 2.3 [5] -'o-p05pass1'(suite) -> []; 'o-p05pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7765,12 +7169,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p06fail1 %% Type: invalid %% Sections: 2.3 [6] -'o-p06fail1'(suite) -> []; 'o-p06fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p06fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p06fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7778,12 +7181,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p08fail1 %% Type: invalid %% Sections: 2.3 [8] -'o-p08fail1'(suite) -> []; 'o-p08fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7791,12 +7193,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p08fail2 %% Type: invalid %% Sections: 2.3 [8] -'o-p08fail2'(suite) -> []; 'o-p08fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p08fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7804,12 +7205,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p10pass1 %% Type: invalid %% Sections: 2.3 [10] -'o-p10pass1'(suite) -> []; 'o-p10pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7817,12 +7217,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p14pass1 %% Type: invalid %% Sections: 2.4 [14] -'o-p14pass1'(suite) -> []; 'o-p14pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7830,12 +7229,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p15pass1 %% Type: invalid %% Sections: 2.5 [15] -'o-p15pass1'(suite) -> []; 'o-p15pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7843,12 +7241,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16pass1 %% Type: invalid %% Sections: 2.6 [16] [17] -'o-p16pass1'(suite) -> []; 'o-p16pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7856,12 +7253,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16pass2 %% Type: invalid %% Sections: 2.6 [16] -'o-p16pass2'(suite) -> []; 'o-p16pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7869,12 +7265,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16pass3 %% Type: invalid %% Sections: 2.6 [16] -'o-p16pass3'(suite) -> []; 'o-p16pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7882,12 +7277,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p18pass1 %% Type: invalid %% Sections: 2.7 [18] -'o-p18pass1'(suite) -> []; 'o-p18pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7895,12 +7289,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass1 %% Type: invalid %% Sections: 2.8 [22] -'o-p22pass1'(suite) -> []; 'o-p22pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7908,12 +7301,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass2 %% Type: invalid %% Sections: 2.8 [22] -'o-p22pass2'(suite) -> []; 'o-p22pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7921,12 +7313,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22pass3 %% Type: invalid %% Sections: 2.8 [22] -'o-p22pass3'(suite) -> []; 'o-p22pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7934,12 +7325,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23pass1 %% Type: invalid %% Sections: 2.8 [23] -'o-p23pass1'(suite) -> []; 'o-p23pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7947,12 +7337,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23pass2 %% Type: invalid %% Sections: 2.8 [23] -'o-p23pass2'(suite) -> []; 'o-p23pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7960,12 +7349,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23pass3 %% Type: invalid %% Sections: 2.8 [23] -'o-p23pass3'(suite) -> []; 'o-p23pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7973,12 +7361,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23pass4 %% Type: invalid %% Sections: 2.8 [23] -'o-p23pass4'(suite) -> []; 'o-p23pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7986,12 +7373,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24pass1 %% Type: invalid %% Sections: 2.8 [24] -'o-p24pass1'(suite) -> []; 'o-p24pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -7999,12 +7385,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24pass2 %% Type: invalid %% Sections: 2.8 [24] -'o-p24pass2'(suite) -> []; 'o-p24pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8012,12 +7397,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24pass3 %% Type: invalid %% Sections: 2.8 [24] -'o-p24pass3'(suite) -> []; 'o-p24pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8025,12 +7409,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24pass4 %% Type: invalid %% Sections: 2.8 [24] -'o-p24pass4'(suite) -> []; 'o-p24pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8038,12 +7421,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p25pass1 %% Type: invalid %% Sections: 2.8 [25] -'o-p25pass1'(suite) -> []; 'o-p25pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8051,12 +7433,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p25pass2 %% Type: invalid %% Sections: 2.8 [25] -'o-p25pass2'(suite) -> []; 'o-p25pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8064,12 +7445,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p26pass1 %% Type: invalid %% Sections: 2.8 [26] -'o-p26pass1'(suite) -> []; 'o-p26pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8077,12 +7457,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p27pass1 %% Type: invalid %% Sections: 2.8 [27] -'o-p27pass1'(suite) -> []; 'o-p27pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8090,12 +7469,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p27pass2 %% Type: invalid %% Sections: 2.8 [27] -'o-p27pass2'(suite) -> []; 'o-p27pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8103,12 +7481,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p27pass3 %% Type: invalid %% Sections: 2.8 [27] -'o-p27pass3'(suite) -> []; 'o-p27pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8116,12 +7493,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p27pass4 %% Type: invalid %% Sections: 2.8 [27] -'o-p27pass4'(suite) -> []; 'o-p27pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8129,12 +7505,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32pass1 %% Type: invalid %% Sections: 2.9 [32] -'o-p32pass1'(suite) -> []; 'o-p32pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8142,12 +7517,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32pass2 %% Type: invalid %% Sections: 2.9 [32] -'o-p32pass2'(suite) -> []; 'o-p32pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8155,12 +7529,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39pass1 %% Type: invalid %% Sections: 3 3.1 [39] [44] -'o-p39pass1'(suite) -> []; 'o-p39pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8168,12 +7541,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39pass2 %% Type: invalid %% Sections: 3 3.1 [39] [43] -'o-p39pass2'(suite) -> []; 'o-p39pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8181,12 +7553,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40pass1 %% Type: invalid %% Sections: 3.1 [40] -'o-p40pass1'(suite) -> []; 'o-p40pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8194,12 +7565,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40pass2 %% Type: invalid %% Sections: 3.1 [40] -'o-p40pass2'(suite) -> []; 'o-p40pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8207,12 +7577,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40pass3 %% Type: invalid %% Sections: 3.1 [40] [41] -'o-p40pass3'(suite) -> []; 'o-p40pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8220,12 +7589,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40pass4 %% Type: invalid %% Sections: 3.1 [40] -'o-p40pass4'(suite) -> []; 'o-p40pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8233,12 +7601,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p41pass1 %% Type: invalid %% Sections: 3.1 [41] -'o-p41pass1'(suite) -> []; 'o-p41pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8246,12 +7613,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p41pass2 %% Type: invalid %% Sections: 3.1 [41] -'o-p41pass2'(suite) -> []; 'o-p41pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8259,12 +7625,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p42pass1 %% Type: invalid %% Sections: 3.1 [42] -'o-p42pass1'(suite) -> []; 'o-p42pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8272,12 +7637,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p42pass2 %% Type: invalid %% Sections: 3.1 [42] -'o-p42pass2'(suite) -> []; 'o-p42pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8285,12 +7649,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44pass1 %% Type: invalid %% Sections: 3.1 [44] -'o-p44pass1'(suite) -> []; 'o-p44pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8298,12 +7661,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44pass2 %% Type: invalid %% Sections: 3.1 [44] -'o-p44pass2'(suite) -> []; 'o-p44pass2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8311,12 +7673,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44pass3 %% Type: invalid %% Sections: 3.1 [44] -'o-p44pass3'(suite) -> []; 'o-p44pass3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8324,12 +7685,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44pass4 %% Type: invalid %% Sections: 3.1 [44] -'o-p44pass4'(suite) -> []; 'o-p44pass4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8337,12 +7697,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44pass5 %% Type: invalid %% Sections: 3.1 [44] -'o-p44pass5'(suite) -> []; 'o-p44pass5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44pass5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8350,12 +7709,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66pass1 %% Type: invalid %% Sections: 4.1 [66] -'o-p66pass1'(suite) -> []; 'o-p66pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8363,12 +7721,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p74pass1 %% Type: invalid %% Sections: 4.2 [74] -'o-p74pass1'(suite) -> []; 'o-p74pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8376,12 +7733,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75pass1 %% Type: invalid %% Sections: 4.2.2 [75] -'o-p75pass1'(suite) -> []; 'o-p75pass1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75pass1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75pass1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8389,12 +7745,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-e2 %% Type: invalid %% Sections: 3.3.1 [58] [59] Errata [E2] -'o-e2'(suite) -> []; 'o-e2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","e2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","e2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -8402,12 +7757,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01fail1 %% Type: not-wf %% Sections: 2.1 [1] -'o-p01fail1'(suite) -> []; 'o-p01fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8415,12 +7769,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01fail2 %% Type: not-wf %% Sections: 2.1 [1] -'o-p01fail2'(suite) -> []; 'o-p01fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8428,15 +7781,14 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01fail3 %% Type: not-wf %% Sections: 2.1 [1] -'o-p01fail3'(suite) -> []; 'o-p01fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail3.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail3.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_, <<"<bad/>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_, <<"<bad/>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8444,12 +7796,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p01fail4 %% Type: not-wf %% Sections: 2.1 [1] -'o-p01fail4'(suite) -> []; 'o-p01fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p01fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8457,12 +7808,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail1 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail1'(suite) -> []; 'o-p02fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8470,12 +7820,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail10 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail10'(suite) -> []; 'o-p02fail10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8483,12 +7832,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail11 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail11'(suite) -> []; 'o-p02fail11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8496,12 +7844,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail12 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail12'(suite) -> []; 'o-p02fail12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8509,12 +7856,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail13 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail13'(suite) -> []; 'o-p02fail13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8522,12 +7868,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail14 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail14'(suite) -> []; 'o-p02fail14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8535,12 +7880,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail15 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail15'(suite) -> []; 'o-p02fail15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8548,12 +7892,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail16 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail16'(suite) -> []; 'o-p02fail16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8561,12 +7904,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail17 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail17'(suite) -> []; 'o-p02fail17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8574,12 +7916,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail18 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail18'(suite) -> []; 'o-p02fail18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8587,12 +7928,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail19 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail19'(suite) -> []; 'o-p02fail19'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail19.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail19.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8600,12 +7940,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail2 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail2'(suite) -> []; 'o-p02fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8613,12 +7952,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail20 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail20'(suite) -> []; 'o-p02fail20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8626,12 +7964,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail21 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail21'(suite) -> []; 'o-p02fail21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8639,12 +7976,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail22 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail22'(suite) -> []; 'o-p02fail22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8652,12 +7988,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail23 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail23'(suite) -> []; 'o-p02fail23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8665,12 +8000,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail24 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail24'(suite) -> []; 'o-p02fail24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8678,12 +8012,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail25 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail25'(suite) -> []; 'o-p02fail25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8691,12 +8024,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail26 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail26'(suite) -> []; 'o-p02fail26'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail26.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail26.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8704,12 +8036,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail27 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail27'(suite) -> []; 'o-p02fail27'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail27.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail27.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8717,12 +8048,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail28 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail28'(suite) -> []; 'o-p02fail28'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail28.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail28.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8730,12 +8060,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail29 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail29'(suite) -> []; 'o-p02fail29'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail29.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail29.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8743,12 +8072,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail3 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail3'(suite) -> []; 'o-p02fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8756,12 +8084,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail30 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail30'(suite) -> []; 'o-p02fail30'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail30.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail30.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8769,12 +8096,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail31 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail31'(suite) -> []; 'o-p02fail31'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail31.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail31.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8782,12 +8108,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail4 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail4'(suite) -> []; 'o-p02fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8795,12 +8120,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail5 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail5'(suite) -> []; 'o-p02fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8808,12 +8132,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail6 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail6'(suite) -> []; 'o-p02fail6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8821,12 +8144,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail7 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail7'(suite) -> []; 'o-p02fail7'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail7.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail7.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8834,12 +8156,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail8 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail8'(suite) -> []; 'o-p02fail8'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail8.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail8.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8847,12 +8168,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p02fail9 %% Type: not-wf %% Sections: 2.2 [2] -'o-p02fail9'(suite) -> []; 'o-p02fail9'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail9.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p02fail9.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8860,12 +8180,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail1 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail1'(suite) -> []; 'o-p03fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8873,12 +8192,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail10 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail10'(suite) -> []; 'o-p03fail10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8886,12 +8204,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail11 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail11'(suite) -> []; 'o-p03fail11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8899,12 +8216,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail12 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail12'(suite) -> []; 'o-p03fail12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8912,12 +8228,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail13 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail13'(suite) -> []; 'o-p03fail13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8925,12 +8240,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail14 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail14'(suite) -> []; 'o-p03fail14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8938,12 +8252,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail15 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail15'(suite) -> []; 'o-p03fail15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8951,12 +8264,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail16 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail16'(suite) -> []; 'o-p03fail16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8964,12 +8276,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail17 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail17'(suite) -> []; 'o-p03fail17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8977,12 +8288,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail18 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail18'(suite) -> []; 'o-p03fail18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -8990,12 +8300,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail19 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail19'(suite) -> []; 'o-p03fail19'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail19.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail19.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9003,12 +8312,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail2 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail2'(suite) -> []; 'o-p03fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9016,12 +8324,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail20 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail20'(suite) -> []; 'o-p03fail20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9029,12 +8336,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail21 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail21'(suite) -> []; 'o-p03fail21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9042,12 +8348,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail22 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail22'(suite) -> []; 'o-p03fail22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9055,12 +8360,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail23 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail23'(suite) -> []; 'o-p03fail23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9068,12 +8372,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail24 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail24'(suite) -> []; 'o-p03fail24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9081,12 +8384,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail25 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail25'(suite) -> []; 'o-p03fail25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9094,12 +8396,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail26 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail26'(suite) -> []; 'o-p03fail26'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail26.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail26.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9107,12 +8408,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail27 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail27'(suite) -> []; 'o-p03fail27'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail27.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail27.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9120,12 +8420,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail28 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail28'(suite) -> []; 'o-p03fail28'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail28.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail28.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9133,12 +8432,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail29 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail29'(suite) -> []; 'o-p03fail29'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail29.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail29.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9146,12 +8444,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail3 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail3'(suite) -> []; 'o-p03fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9159,12 +8456,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail4 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail4'(suite) -> []; 'o-p03fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9172,12 +8468,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail5 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail5'(suite) -> []; 'o-p03fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9185,12 +8480,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail7 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail7'(suite) -> []; 'o-p03fail7'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail7.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail7.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9198,12 +8492,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail8 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail8'(suite) -> []; 'o-p03fail8'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail8.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail8.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9211,12 +8504,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p03fail9 %% Type: not-wf %% Sections: 2.3 [3] -'o-p03fail9'(suite) -> []; 'o-p03fail9'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail9.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p03fail9.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9224,12 +8516,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p04fail1 %% Type: not-wf %% Sections: 2.3 [4] -'o-p04fail1'(suite) -> []; 'o-p04fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9237,12 +8528,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p04fail2 %% Type: not-wf %% Sections: 2.3 [4] -'o-p04fail2'(suite) -> []; 'o-p04fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9250,12 +8540,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p04fail3 %% Type: not-wf %% Sections: 2.3 [4] -'o-p04fail3'(suite) -> []; 'o-p04fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p04fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9263,12 +8552,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05fail1 %% Type: not-wf %% Sections: 2.3 [5] -'o-p05fail1'(suite) -> []; 'o-p05fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9276,12 +8564,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05fail2 %% Type: not-wf %% Sections: 2.3 [5] -'o-p05fail2'(suite) -> []; 'o-p05fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9289,12 +8576,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05fail3 %% Type: not-wf %% Sections: 2.3 [5] -'o-p05fail3'(suite) -> []; 'o-p05fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9302,12 +8588,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05fail4 %% Type: not-wf %% Sections: 2.3 [5] -'o-p05fail4'(suite) -> []; 'o-p05fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9315,12 +8600,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p05fail5 %% Type: not-wf %% Sections: 2.3 [5] -'o-p05fail5'(suite) -> []; 'o-p05fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p05fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9328,12 +8612,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09fail1 %% Type: not-wf %% Sections: 2.3 [9] -'o-p09fail1'(suite) -> []; 'o-p09fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9341,12 +8624,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09fail2 %% Type: not-wf %% Sections: 2.3 [9] -'o-p09fail2'(suite) -> []; 'o-p09fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9354,12 +8636,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09fail3 %% Type: not-wf %% Sections: 2.3 [9] -'o-p09fail3'(suite) -> []; 'o-p09fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9367,12 +8648,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09fail4 %% Type: not-wf %% Sections: 2.3 [9] -'o-p09fail4'(suite) -> []; 'o-p09fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9380,12 +8660,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p09fail5 %% Type: not-wf %% Sections: 2.3 [9] -'o-p09fail5'(suite) -> []; 'o-p09fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p09fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9393,12 +8672,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p10fail1 %% Type: not-wf %% Sections: 2.3 [10] -'o-p10fail1'(suite) -> []; 'o-p10fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9406,12 +8684,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p10fail2 %% Type: not-wf %% Sections: 2.3 [10] -'o-p10fail2'(suite) -> []; 'o-p10fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9419,12 +8696,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p10fail3 %% Type: not-wf %% Sections: 2.3 [10] -'o-p10fail3'(suite) -> []; 'o-p10fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p10fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9432,12 +8708,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p11fail1 %% Type: not-wf %% Sections: 2.3 [11] -'o-p11fail1'(suite) -> []; 'o-p11fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9445,12 +8720,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p11fail2 %% Type: not-wf %% Sections: 2.3 [11] -'o-p11fail2'(suite) -> []; 'o-p11fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9458,12 +8732,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail1 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail1'(suite) -> []; 'o-p12fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9471,12 +8744,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail2 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail2'(suite) -> []; 'o-p12fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9484,12 +8756,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail3 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail3'(suite) -> []; 'o-p12fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9497,12 +8768,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail4 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail4'(suite) -> []; 'o-p12fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9510,12 +8780,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail5 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail5'(suite) -> []; 'o-p12fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9523,12 +8792,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail6 %% Type: not-wf %% Sections: 2.3 [12] -'o-p12fail6'(suite) -> []; 'o-p12fail6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9536,12 +8804,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p12fail7 %% Type: not-wf %% Sections: 2.3 [13] -'o-p12fail7'(suite) -> []; 'o-p12fail7'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail7.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p12fail7.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9549,12 +8816,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p14fail1 %% Type: not-wf %% Sections: 2.4 [14] -'o-p14fail1'(suite) -> []; 'o-p14fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9562,12 +8828,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p14fail2 %% Type: not-wf %% Sections: 2.4 [14] -'o-p14fail2'(suite) -> []; 'o-p14fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9575,12 +8840,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p14fail3 %% Type: not-wf %% Sections: 2.4 [14] -'o-p14fail3'(suite) -> []; 'o-p14fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p14fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9588,12 +8852,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p15fail1 %% Type: not-wf %% Sections: 2.5 [15] -'o-p15fail1'(suite) -> []; 'o-p15fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9601,12 +8864,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p15fail2 %% Type: not-wf %% Sections: 2.5 [15] -'o-p15fail2'(suite) -> []; 'o-p15fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9614,12 +8876,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p15fail3 %% Type: not-wf %% Sections: 2.5 [15] -'o-p15fail3'(suite) -> []; 'o-p15fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p15fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9627,12 +8888,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16fail1 %% Type: not-wf %% Sections: 2.6 [16] -'o-p16fail1'(suite) -> []; 'o-p16fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9640,12 +8900,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16fail2 %% Type: not-wf %% Sections: 2.6 [16] -'o-p16fail2'(suite) -> []; 'o-p16fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9653,12 +8912,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p16fail3 %% Type: not-wf %% Sections: 2.6 [16] -'o-p16fail3'(suite) -> []; 'o-p16fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p16fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9666,12 +8924,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p18fail1 %% Type: not-wf %% Sections: 2.7 [18] -'o-p18fail1'(suite) -> []; 'o-p18fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9679,12 +8936,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p18fail2 %% Type: not-wf %% Sections: 2.7 [18] -'o-p18fail2'(suite) -> []; 'o-p18fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9692,12 +8948,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p18fail3 %% Type: not-wf %% Sections: 2.7 [18] -'o-p18fail3'(suite) -> []; 'o-p18fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p18fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9705,12 +8960,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22fail1 %% Type: not-wf %% Sections: 2.8 [22] -'o-p22fail1'(suite) -> []; 'o-p22fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9718,12 +8972,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p22fail2 %% Type: not-wf %% Sections: 2.8 [22] -'o-p22fail2'(suite) -> []; 'o-p22fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p22fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9731,12 +8984,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23fail1 %% Type: not-wf %% Sections: 2.8 [23] -'o-p23fail1'(suite) -> []; 'o-p23fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9744,12 +8996,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23fail2 %% Type: not-wf %% Sections: 2.8 [23] -'o-p23fail2'(suite) -> []; 'o-p23fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9757,12 +9008,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23fail3 %% Type: not-wf %% Sections: 2.8 [23] -'o-p23fail3'(suite) -> []; 'o-p23fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9770,12 +9020,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23fail4 %% Type: not-wf %% Sections: 2.8 [23] -'o-p23fail4'(suite) -> []; 'o-p23fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9783,12 +9032,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p23fail5 %% Type: not-wf %% Sections: 2.8 [23] -'o-p23fail5'(suite) -> []; 'o-p23fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p23fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9796,12 +9044,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24fail1 %% Type: not-wf %% Sections: 2.8 [24] -'o-p24fail1'(suite) -> []; 'o-p24fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9809,12 +9056,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p24fail2 %% Type: not-wf %% Sections: 2.8 [24] -'o-p24fail2'(suite) -> []; 'o-p24fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p24fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9822,12 +9068,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p25fail1 %% Type: not-wf %% Sections: 2.8 [25] -'o-p25fail1'(suite) -> []; 'o-p25fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p25fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9835,12 +9080,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p26fail1 %% Type: not-wf %% Sections: 2.8 [26] -'o-p26fail1'(suite) -> []; 'o-p26fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9848,12 +9092,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p26fail2 %% Type: not-wf %% Sections: 2.8 [26] -'o-p26fail2'(suite) -> []; 'o-p26fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p26fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9861,12 +9104,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p27fail1 %% Type: not-wf %% Sections: 2.8 [27] -'o-p27fail1'(suite) -> []; 'o-p27fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p27fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9874,12 +9116,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p28fail1 %% Type: not-wf %% Sections: 2.8 [28] -'o-p28fail1'(suite) -> []; 'o-p28fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p28fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9887,12 +9128,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p29fail1 %% Type: not-wf %% Sections: 2.8 [29] -'o-p29fail1'(suite) -> []; 'o-p29fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p29fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p29fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9900,12 +9140,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p30fail1 %% Type: not-wf %% Sections: 2.8 [30] -'o-p30fail1'(suite) -> []; 'o-p30fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p30fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9913,12 +9152,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p31fail1 %% Type: not-wf %% Sections: 2.8 [31] -'o-p31fail1'(suite) -> []; 'o-p31fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p31fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9926,12 +9164,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32fail1 %% Type: not-wf %% Sections: 2.9 [32] -'o-p32fail1'(suite) -> []; 'o-p32fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9939,12 +9176,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32fail2 %% Type: not-wf %% Sections: 2.9 [32] -'o-p32fail2'(suite) -> []; 'o-p32fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9952,12 +9188,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32fail3 %% Type: not-wf %% Sections: 2.9 [32] -'o-p32fail3'(suite) -> []; 'o-p32fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9965,12 +9200,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32fail4 %% Type: not-wf %% Sections: 2.9 [32] -'o-p32fail4'(suite) -> []; 'o-p32fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9978,12 +9212,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p32fail5 %% Type: not-wf %% Sections: 2.9 [32] -'o-p32fail5'(suite) -> []; 'o-p32fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p32fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -9991,12 +9224,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39fail1 %% Type: not-wf %% Sections: 3 [39] -'o-p39fail1'(suite) -> []; 'o-p39fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10004,12 +9236,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39fail2 %% Type: not-wf %% Sections: 3 [39] -'o-p39fail2'(suite) -> []; 'o-p39fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10017,12 +9248,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39fail3 %% Type: not-wf %% Sections: 3 [39] -'o-p39fail3'(suite) -> []; 'o-p39fail3'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail3.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail3.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10030,12 +9260,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39fail4 %% Type: not-wf %% Sections: 2.8 [23] -'o-p39fail4'(suite) -> []; 'o-p39fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10043,12 +9272,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p39fail5 %% Type: not-wf %% Sections: 2.8 [23] -'o-p39fail5'(suite) -> []; 'o-p39fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p39fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10056,12 +9284,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40fail1 %% Type: not-wf %% Sections: 3.1 [40] -'o-p40fail1'(suite) -> []; 'o-p40fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10069,12 +9296,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40fail2 %% Type: not-wf %% Sections: 3.1 [40] -'o-p40fail2'(suite) -> []; 'o-p40fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10082,12 +9308,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40fail3 %% Type: not-wf %% Sections: 3.1 [40] -'o-p40fail3'(suite) -> []; 'o-p40fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10095,12 +9320,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p40fail4 %% Type: not-wf %% Sections: 3.1 [40] -'o-p40fail4'(suite) -> []; 'o-p40fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p40fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10108,12 +9332,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p41fail1 %% Type: not-wf %% Sections: 3.1 [41] -'o-p41fail1'(suite) -> []; 'o-p41fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10121,12 +9344,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p41fail2 %% Type: not-wf %% Sections: 3.1 [41] -'o-p41fail2'(suite) -> []; 'o-p41fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10134,12 +9356,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p41fail3 %% Type: not-wf %% Sections: 3.1 [41] -'o-p41fail3'(suite) -> []; 'o-p41fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p41fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10147,12 +9368,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p42fail1 %% Type: not-wf %% Sections: 3.1 [42] -'o-p42fail1'(suite) -> []; 'o-p42fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10160,12 +9380,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p42fail2 %% Type: not-wf %% Sections: 3.1 [42] -'o-p42fail2'(suite) -> []; 'o-p42fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10173,12 +9392,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p42fail3 %% Type: not-wf %% Sections: 3.1 [42] -'o-p42fail3'(suite) -> []; 'o-p42fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p42fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10186,12 +9404,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p43fail1 %% Type: not-wf %% Sections: 3.1 [43] -'o-p43fail1'(suite) -> []; 'o-p43fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10199,12 +9416,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p43fail2 %% Type: not-wf %% Sections: 3.1 [43] -'o-p43fail2'(suite) -> []; 'o-p43fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10212,12 +9428,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p43fail3 %% Type: not-wf %% Sections: 3.1 [43] -'o-p43fail3'(suite) -> []; 'o-p43fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p43fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10225,12 +9440,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44fail1 %% Type: not-wf %% Sections: 3.1 [44] -'o-p44fail1'(suite) -> []; 'o-p44fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10238,12 +9452,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44fail2 %% Type: not-wf %% Sections: 3.1 [44] -'o-p44fail2'(suite) -> []; 'o-p44fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10251,12 +9464,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44fail3 %% Type: not-wf %% Sections: 3.1 [44] -'o-p44fail3'(suite) -> []; 'o-p44fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10264,12 +9476,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44fail4 %% Type: not-wf %% Sections: 3.1 [44] -'o-p44fail4'(suite) -> []; 'o-p44fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10277,12 +9488,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p44fail5 %% Type: not-wf %% Sections: 3.1 [44] -'o-p44fail5'(suite) -> []; 'o-p44fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p44fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10290,12 +9500,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p45fail1 %% Type: not-wf %% Sections: 3.2 [45] -'o-p45fail1'(suite) -> []; 'o-p45fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10303,12 +9512,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p45fail2 %% Type: not-wf %% Sections: 3.2 [45] -'o-p45fail2'(suite) -> []; 'o-p45fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10316,12 +9524,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p45fail3 %% Type: not-wf %% Sections: 3.2 [45] -'o-p45fail3'(suite) -> []; 'o-p45fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10329,12 +9536,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p45fail4 %% Type: not-wf %% Sections: 3.2 [45] -'o-p45fail4'(suite) -> []; 'o-p45fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p45fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10342,12 +9548,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail1 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail1'(suite) -> []; 'o-p46fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10355,12 +9560,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail2 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail2'(suite) -> []; 'o-p46fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10368,12 +9572,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail3 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail3'(suite) -> []; 'o-p46fail3'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail3.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail3.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10381,12 +9584,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail4 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail4'(suite) -> []; 'o-p46fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10394,12 +9596,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail5 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail5'(suite) -> []; 'o-p46fail5'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail5.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail5.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10407,12 +9608,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p46fail6 %% Type: not-wf %% Sections: 3.2 [46] -'o-p46fail6'(suite) -> []; 'o-p46fail6'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail6.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p46fail6.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10420,12 +9620,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p47fail1 %% Type: not-wf %% Sections: 3.2.1 [47] -'o-p47fail1'(suite) -> []; 'o-p47fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10433,12 +9632,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p47fail2 %% Type: not-wf %% Sections: 3.2.1 [47] -'o-p47fail2'(suite) -> []; 'o-p47fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10446,12 +9644,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p47fail3 %% Type: not-wf %% Sections: 3.2.1 [47] -'o-p47fail3'(suite) -> []; 'o-p47fail3'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail3.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail3.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10459,12 +9656,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p47fail4 %% Type: not-wf %% Sections: 3.2.1 [47] -'o-p47fail4'(suite) -> []; 'o-p47fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p47fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10472,12 +9668,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p48fail1 %% Type: not-wf %% Sections: 3.2.1 [48] -'o-p48fail1'(suite) -> []; 'o-p48fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10485,12 +9680,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p48fail2 %% Type: not-wf %% Sections: 3.2.1 [48] -'o-p48fail2'(suite) -> []; 'o-p48fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p48fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10498,12 +9692,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p49fail1 %% Type: not-wf %% Sections: 3.2.1 [49] -'o-p49fail1'(suite) -> []; 'o-p49fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p49fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p49fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10511,12 +9704,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p50fail1 %% Type: not-wf %% Sections: 3.2.1 [50] -'o-p50fail1'(suite) -> []; 'o-p50fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p50fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p50fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10524,12 +9716,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail1 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail1'(suite) -> []; 'o-p51fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10537,12 +9728,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail2 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail2'(suite) -> []; 'o-p51fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10550,12 +9740,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail3 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail3'(suite) -> []; 'o-p51fail3'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail3.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail3.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10563,12 +9752,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail4 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail4'(suite) -> []; 'o-p51fail4'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail4.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail4.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10576,12 +9764,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail5 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail5'(suite) -> []; 'o-p51fail5'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail5.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail5.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10589,12 +9776,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail6 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail6'(suite) -> []; 'o-p51fail6'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail6.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail6.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10602,12 +9788,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p51fail7 %% Type: not-wf %% Sections: 3.2.2 [51] -'o-p51fail7'(suite) -> []; 'o-p51fail7'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail7.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p51fail7.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10615,12 +9800,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p52fail1 %% Type: not-wf %% Sections: 3.3 [52] -'o-p52fail1'(suite) -> []; 'o-p52fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10628,12 +9812,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p52fail2 %% Type: not-wf %% Sections: 3.3 [52] -'o-p52fail2'(suite) -> []; 'o-p52fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p52fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10641,12 +9824,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53fail1 %% Type: not-wf %% Sections: 3.3 [53] -'o-p53fail1'(suite) -> []; 'o-p53fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10654,12 +9836,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53fail2 %% Type: not-wf %% Sections: 3.3 [53] -'o-p53fail2'(suite) -> []; 'o-p53fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10667,12 +9848,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53fail3 %% Type: not-wf %% Sections: 3.3 [53] -'o-p53fail3'(suite) -> []; 'o-p53fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10680,12 +9860,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53fail4 %% Type: not-wf %% Sections: 3.3 [53] -'o-p53fail4'(suite) -> []; 'o-p53fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10693,12 +9872,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p53fail5 %% Type: not-wf %% Sections: 3.3 [53] -'o-p53fail5'(suite) -> []; 'o-p53fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p53fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10706,12 +9884,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p54fail1 %% Type: not-wf %% Sections: 3.3.1 [54] -'o-p54fail1'(suite) -> []; 'o-p54fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p54fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p54fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10719,12 +9896,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p55fail1 %% Type: not-wf %% Sections: 3.3.1 [55] -'o-p55fail1'(suite) -> []; 'o-p55fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p55fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p55fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10732,12 +9908,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56fail1 %% Type: not-wf %% Sections: 3.3.1 [56] -'o-p56fail1'(suite) -> []; 'o-p56fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10745,12 +9920,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56fail2 %% Type: not-wf %% Sections: 3.3.1 [56] -'o-p56fail2'(suite) -> []; 'o-p56fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10758,12 +9932,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56fail3 %% Type: not-wf %% Sections: 3.3.1 [56] -'o-p56fail3'(suite) -> []; 'o-p56fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10771,12 +9944,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56fail4 %% Type: not-wf %% Sections: 3.3.1 [56] -'o-p56fail4'(suite) -> []; 'o-p56fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10784,12 +9956,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p56fail5 %% Type: not-wf %% Sections: 3.3.1 [56] -'o-p56fail5'(suite) -> []; 'o-p56fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p56fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10797,12 +9968,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p57fail1 %% Type: not-wf %% Sections: 3.3.1 [57] -'o-p57fail1'(suite) -> []; 'o-p57fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p57fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p57fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10810,12 +9980,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail1 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail1'(suite) -> []; 'o-p58fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10823,12 +9992,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail2 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail2'(suite) -> []; 'o-p58fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10836,12 +10004,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail3 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail3'(suite) -> []; 'o-p58fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10849,12 +10016,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail4 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail4'(suite) -> []; 'o-p58fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10862,12 +10028,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail5 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail5'(suite) -> []; 'o-p58fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10875,12 +10040,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail6 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail6'(suite) -> []; 'o-p58fail6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10888,12 +10052,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail7 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail7'(suite) -> []; 'o-p58fail7'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail7.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail7.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10901,12 +10064,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p58fail8 %% Type: not-wf %% Sections: 3.3.1 [58] -'o-p58fail8'(suite) -> []; 'o-p58fail8'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail8.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p58fail8.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10914,12 +10076,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p59fail1 %% Type: not-wf %% Sections: 3.3.1 [59] -'o-p59fail1'(suite) -> []; 'o-p59fail1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10927,12 +10088,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p59fail2 %% Type: not-wf %% Sections: 3.3.1 [59] -'o-p59fail2'(suite) -> []; 'o-p59fail2'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail2.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail2.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10940,12 +10100,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p59fail3 %% Type: not-wf %% Sections: 3.3.1 [59] -'o-p59fail3'(suite) -> []; 'o-p59fail3'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail3.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p59fail3.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10953,12 +10112,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60fail1 %% Type: not-wf %% Sections: 3.3.2 [60] -'o-p60fail1'(suite) -> []; 'o-p60fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10966,12 +10124,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60fail2 %% Type: not-wf %% Sections: 3.3.2 [60] -'o-p60fail2'(suite) -> []; 'o-p60fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10979,12 +10136,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60fail3 %% Type: not-wf %% Sections: 3.3.2 [60] -'o-p60fail3'(suite) -> []; 'o-p60fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -10992,12 +10148,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60fail4 %% Type: not-wf %% Sections: 3.3.2 [60] -'o-p60fail4'(suite) -> []; 'o-p60fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11005,12 +10160,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p60fail5 %% Type: not-wf %% Sections: 3.3.2 [60] -'o-p60fail5'(suite) -> []; 'o-p60fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p60fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11018,12 +10172,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p61fail1 %% Type: not-wf %% Sections: 3.4 [61] -'o-p61fail1'(suite) -> []; 'o-p61fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p61fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p61fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11031,12 +10184,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p62fail1 %% Type: not-wf %% Sections: 3.4 [62] -'o-p62fail1'(suite) -> []; 'o-p62fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11044,12 +10196,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p62fail2 %% Type: not-wf %% Sections: 3.4 [62] -'o-p62fail2'(suite) -> []; 'o-p62fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p62fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11057,12 +10208,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p63fail1 %% Type: not-wf %% Sections: 3.4 [63] -'o-p63fail1'(suite) -> []; 'o-p63fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11070,12 +10220,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p63fail2 %% Type: not-wf %% Sections: 3.4 [63] -'o-p63fail2'(suite) -> []; 'o-p63fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p63fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11083,12 +10232,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p64fail1 %% Type: not-wf %% Sections: 3.4 [64] -'o-p64fail1'(suite) -> []; 'o-p64fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11096,12 +10244,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p64fail2 %% Type: not-wf %% Sections: 3.4 [64] -'o-p64fail2'(suite) -> []; 'o-p64fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p64fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11109,12 +10256,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail1 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail1'(suite) -> []; 'o-p66fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11122,12 +10268,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail2 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail2'(suite) -> []; 'o-p66fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11135,12 +10280,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail3 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail3'(suite) -> []; 'o-p66fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11148,12 +10292,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail4 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail4'(suite) -> []; 'o-p66fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11161,12 +10304,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail5 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail5'(suite) -> []; 'o-p66fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11174,12 +10316,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p66fail6 %% Type: not-wf %% Sections: 4.1 [66] -'o-p66fail6'(suite) -> []; 'o-p66fail6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p66fail6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11187,12 +10328,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p68fail1 %% Type: not-wf %% Sections: 4.1 [68] -'o-p68fail1'(suite) -> []; 'o-p68fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11200,12 +10340,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p68fail2 %% Type: not-wf %% Sections: 4.1 [68] -'o-p68fail2'(suite) -> []; 'o-p68fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11213,12 +10352,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p68fail3 %% Type: not-wf %% Sections: 4.1 [68] -'o-p68fail3'(suite) -> []; 'o-p68fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p68fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11226,12 +10364,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p69fail1 %% Type: not-wf %% Sections: 4.1 [69] -'o-p69fail1'(suite) -> []; 'o-p69fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11239,12 +10376,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p69fail2 %% Type: not-wf %% Sections: 4.1 [69] -'o-p69fail2'(suite) -> []; 'o-p69fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11252,12 +10388,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p69fail3 %% Type: not-wf %% Sections: 4.1 [69] -'o-p69fail3'(suite) -> []; 'o-p69fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p69fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11265,12 +10400,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p70fail1 %% Type: not-wf %% Sections: 4.2 [70] -'o-p70fail1'(suite) -> []; 'o-p70fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p70fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p70fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11278,12 +10412,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p71fail1 %% Type: not-wf %% Sections: 4.2 [71] -'o-p71fail1'(suite) -> []; 'o-p71fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11291,12 +10424,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p71fail2 %% Type: not-wf %% Sections: 4.2 [71] -'o-p71fail2'(suite) -> []; 'o-p71fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11304,12 +10436,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p71fail3 %% Type: not-wf %% Sections: 4.2 [71] -'o-p71fail3'(suite) -> []; 'o-p71fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11317,12 +10448,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p71fail4 %% Type: not-wf %% Sections: 4.2 [71] -'o-p71fail4'(suite) -> []; 'o-p71fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p71fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11330,12 +10460,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p72fail1 %% Type: not-wf %% Sections: 4.2 [72] -'o-p72fail1'(suite) -> []; 'o-p72fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11343,12 +10472,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p72fail2 %% Type: not-wf %% Sections: 4.2 [72] -'o-p72fail2'(suite) -> []; 'o-p72fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11356,12 +10484,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p72fail3 %% Type: not-wf %% Sections: 4.2 [72] -'o-p72fail3'(suite) -> []; 'o-p72fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11369,12 +10496,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p72fail4 %% Type: not-wf %% Sections: 4.2 [72] -'o-p72fail4'(suite) -> []; 'o-p72fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p72fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11382,12 +10508,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73fail1 %% Type: not-wf %% Sections: 4.2 [73] -'o-p73fail1'(suite) -> []; 'o-p73fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11395,12 +10520,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73fail2 %% Type: not-wf %% Sections: 4.2 [73] -'o-p73fail2'(suite) -> []; 'o-p73fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11408,12 +10532,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73fail3 %% Type: not-wf %% Sections: 4.2 [73] -'o-p73fail3'(suite) -> []; 'o-p73fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11421,12 +10544,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73fail4 %% Type: not-wf %% Sections: 4.2 [73] -'o-p73fail4'(suite) -> []; 'o-p73fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11434,12 +10556,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p73fail5 %% Type: not-wf %% Sections: 4.2 [73] -'o-p73fail5'(suite) -> []; 'o-p73fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p73fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11447,12 +10568,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p74fail1 %% Type: not-wf %% Sections: 4.2 [74] -'o-p74fail1'(suite) -> []; 'o-p74fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11460,12 +10580,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p74fail2 %% Type: not-wf %% Sections: 4.2 [74] -'o-p74fail2'(suite) -> []; 'o-p74fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11473,12 +10592,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p74fail3 %% Type: not-wf %% Sections: 4.2 [74] -'o-p74fail3'(suite) -> []; 'o-p74fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p74fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11486,12 +10604,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail1 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail1'(suite) -> []; 'o-p75fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11499,12 +10616,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail2 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail2'(suite) -> []; 'o-p75fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11512,12 +10628,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail3 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail3'(suite) -> []; 'o-p75fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11525,12 +10640,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail4 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail4'(suite) -> []; 'o-p75fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11538,12 +10652,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail5 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail5'(suite) -> []; 'o-p75fail5'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail5.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail5.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11551,12 +10664,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p75fail6 %% Type: not-wf %% Sections: 4.2.2 [75] -'o-p75fail6'(suite) -> []; 'o-p75fail6'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail6.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p75fail6.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11564,12 +10676,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p76fail1 %% Type: not-wf %% Sections: 4.2.2 [76] -'o-p76fail1'(suite) -> []; 'o-p76fail1'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail1.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail1.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11577,12 +10688,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p76fail2 %% Type: not-wf %% Sections: 4.2.2 [76] -'o-p76fail2'(suite) -> []; 'o-p76fail2'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail2.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail2.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11590,12 +10700,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p76fail3 %% Type: not-wf %% Sections: 4.2.2 [76] -'o-p76fail3'(suite) -> []; 'o-p76fail3'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail3.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail3.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11603,12 +10712,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p76fail4 %% Type: not-wf %% Sections: 4.2.2 [76] -'o-p76fail4'(suite) -> []; 'o-p76fail4'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail4.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p76fail4.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -11616,12 +10724,11 @@ end_per_testcase(_Func,_Config) -> %% ID: o-p11pass1 %% Type: error %% Sections: 2.3, 4.2.2 [11] -'o-p11pass1'(suite) -> []; 'o-p11pass1'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11pass1.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "error"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"oasis","p11pass1.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Cases @@ -11639,12 +10746,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P28-ibm28i01.xml %% Type: invalid %% Sections: 2.8 -'ibm-invalid-P28-ibm28i01'(suite) -> []; 'ibm-invalid-P28-ibm28i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P28/ibm28i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P28/ibm28i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11657,12 +10763,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P32-ibm32i01.xml %% Type: invalid %% Sections: 2.9 -'ibm-invalid-P32-ibm32i01'(suite) -> []; 'ibm-invalid-P32-ibm32i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11670,12 +10775,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P32-ibm32i03.xml %% Type: invalid %% Sections: 2.9 -'ibm-invalid-P32-ibm32i03'(suite) -> []; 'ibm-invalid-P32-ibm32i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11683,12 +10787,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P32-ibm32i04.xml %% Type: invalid %% Sections: 2.9 -'ibm-invalid-P32-ibm32i04'(suite) -> []; 'ibm-invalid-P32-ibm32i04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P32/ibm32i04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11701,12 +10804,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P39-ibm39i01.xml %% Type: invalid %% Sections: 3 -'ibm-invalid-P39-ibm39i01'(suite) -> []; 'ibm-invalid-P39-ibm39i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11714,12 +10816,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P39-ibm39i02.xml %% Type: invalid %% Sections: 3 -'ibm-invalid-P39-ibm39i02'(suite) -> []; 'ibm-invalid-P39-ibm39i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11727,12 +10828,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P39-ibm39i03.xml %% Type: invalid %% Sections: 3 -'ibm-invalid-P39-ibm39i03'(suite) -> []; 'ibm-invalid-P39-ibm39i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11740,12 +10840,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P39-ibm39i04.xml %% Type: invalid %% Sections: 3 -'ibm-invalid-P39-ibm39i04'(suite) -> []; 'ibm-invalid-P39-ibm39i04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P39/ibm39i04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11758,12 +10857,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P41-ibm41i01.xml %% Type: invalid %% Sections: 3.1 -'ibm-invalid-P41-ibm41i01'(suite) -> []; 'ibm-invalid-P41-ibm41i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P41/ibm41i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P41/ibm41i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11771,12 +10869,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P41-ibm41i02.xml %% Type: invalid %% Sections: 3.1 -'ibm-invalid-P41-ibm41i02'(suite) -> []; 'ibm-invalid-P41-ibm41i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P41/ibm41i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P41/ibm41i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11789,12 +10886,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P45-ibm45i01.xml %% Type: invalid %% Sections: 3.2 -'ibm-invalid-P45-ibm45i01'(suite) -> []; 'ibm-invalid-P45-ibm45i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P45/ibm45i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P45/ibm45i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11807,12 +10903,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P49-ibm49i01.xml %% Type: invalid %% Sections: 3.2.1 -'ibm-invalid-P49-ibm49i01'(suite) -> []; 'ibm-invalid-P49-ibm49i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P49/ibm49i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P49/ibm49i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11825,12 +10920,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P50-ibm50i01.xml %% Type: invalid %% Sections: 3.2.1 -'ibm-invalid-P50-ibm50i01'(suite) -> []; 'ibm-invalid-P50-ibm50i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P50/ibm50i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P50/ibm50i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11843,12 +10937,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P51-ibm51i01.xml %% Type: invalid %% Sections: 3.2.2 -'ibm-invalid-P51-ibm51i01'(suite) -> []; 'ibm-invalid-P51-ibm51i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P51/ibm51i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P51/ibm51i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11856,12 +10949,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P51-ibm51i03.xml %% Type: invalid %% Sections: 3.2.2 -'ibm-invalid-P51-ibm51i03'(suite) -> []; 'ibm-invalid-P51-ibm51i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P51/ibm51i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P51/ibm51i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -11874,12 +10966,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i01.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i01'(suite) -> []; 'ibm-invalid-P56-ibm56i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11887,12 +10978,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i02.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i02'(suite) -> []; 'ibm-invalid-P56-ibm56i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11900,12 +10990,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i03.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i03'(suite) -> []; 'ibm-invalid-P56-ibm56i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11913,12 +11002,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i05.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i05'(suite) -> []; 'ibm-invalid-P56-ibm56i05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11926,12 +11014,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i06.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i06'(suite) -> []; 'ibm-invalid-P56-ibm56i06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11939,12 +11026,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i07.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i07'(suite) -> []; 'ibm-invalid-P56-ibm56i07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11952,12 +11038,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i08.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i08'(suite) -> []; 'ibm-invalid-P56-ibm56i08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11965,12 +11050,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i09.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i09'(suite) -> []; 'ibm-invalid-P56-ibm56i09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11978,12 +11062,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i10.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i10'(suite) -> []; 'ibm-invalid-P56-ibm56i10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -11991,12 +11074,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i11.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i11'(suite) -> []; 'ibm-invalid-P56-ibm56i11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12004,12 +11086,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i12.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i12'(suite) -> []; 'ibm-invalid-P56-ibm56i12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12017,12 +11098,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i13.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i13'(suite) -> []; 'ibm-invalid-P56-ibm56i13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12030,12 +11110,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i14.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i14'(suite) -> []; 'ibm-invalid-P56-ibm56i14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12043,12 +11122,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i15.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i15'(suite) -> []; 'ibm-invalid-P56-ibm56i15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12056,12 +11134,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i16.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i16'(suite) -> []; 'ibm-invalid-P56-ibm56i16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12069,12 +11146,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i17.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i17'(suite) -> []; 'ibm-invalid-P56-ibm56i17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12082,12 +11158,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P56-ibm56i18.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P56-ibm56i18'(suite) -> []; 'ibm-invalid-P56-ibm56i18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P56/ibm56i18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -12100,12 +11175,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P58-ibm58i01.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P58-ibm58i01'(suite) -> []; 'ibm-invalid-P58-ibm58i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P58/ibm58i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P58/ibm58i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12113,12 +11187,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P58-ibm58i02.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P58-ibm58i02'(suite) -> []; 'ibm-invalid-P58-ibm58i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P58/ibm58i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P58/ibm58i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -12131,12 +11204,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P59-ibm59i01.xml %% Type: invalid %% Sections: 3.3.1 -'ibm-invalid-P59-ibm59i01'(suite) -> []; 'ibm-invalid-P59-ibm59i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P59/ibm59i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P59/ibm59i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -12149,12 +11221,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P60-ibm60i01.xml %% Type: invalid %% Sections: 3.3.2 -'ibm-invalid-P60-ibm60i01'(suite) -> []; 'ibm-invalid-P60-ibm60i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12162,12 +11233,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P60-ibm60i02.xml %% Type: invalid %% Sections: 3.3.2 -'ibm-invalid-P60-ibm60i02'(suite) -> []; 'ibm-invalid-P60-ibm60i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12175,12 +11245,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P60-ibm60i03.xml %% Type: invalid %% Sections: 3.3.2 -'ibm-invalid-P60-ibm60i03'(suite) -> []; 'ibm-invalid-P60-ibm60i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Case @@ -12188,12 +11257,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P60-ibm60i04.xml %% Type: invalid %% Sections: 3.3.2 -'ibm-invalid-P60-ibm60i04'(suite) -> []; 'ibm-invalid-P60-ibm60i04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P60/ibm60i04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -12206,12 +11274,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P68-ibm68i01.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P68-ibm68i01'(suite) -> []; 'ibm-invalid-P68-ibm68i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12219,12 +11286,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P68-ibm68i02.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P68-ibm68i02'(suite) -> []; 'ibm-invalid-P68-ibm68i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12232,12 +11298,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P68-ibm68i03.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P68-ibm68i03'(suite) -> []; 'ibm-invalid-P68-ibm68i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12245,12 +11310,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P68-ibm68i04.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P68-ibm68i04'(suite) -> []; 'ibm-invalid-P68-ibm68i04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P68/ibm68i04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Cases @@ -12263,12 +11327,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P69-ibm69i01.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P69-ibm69i01'(suite) -> []; 'ibm-invalid-P69-ibm69i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12276,12 +11339,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P69-ibm69i02.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P69-ibm69i02'(suite) -> []; 'ibm-invalid-P69-ibm69i02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12289,12 +11351,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P69-ibm69i03.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P69-ibm69i03'(suite) -> []; 'ibm-invalid-P69-ibm69i03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -12302,12 +11363,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P69-ibm69i04.xml %% Type: error %% Sections: 4.1 -'ibm-invalid-P69-ibm69i04'(suite) -> []; 'ibm-invalid-P69-ibm69i04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P69/ibm69i04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Cases @@ -12320,12 +11380,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-invalid-P76-ibm76i01.xml %% Type: invalid %% Sections: 4.2.2 -'ibm-invalid-P76-ibm76i01'(suite) -> []; 'ibm-invalid-P76-ibm76i01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P76/ibm76i01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "invalid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","invalid/P76/ibm76i01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "invalid"). %%---------------------------------------------------------------------- %% Test Cases @@ -12343,12 +11402,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P01-ibm01n01.xml %% Type: not-wf %% Sections: 2.1 -'ibm-not-wf-P01-ibm01n01'(suite) -> []; 'ibm-not-wf-P01-ibm01n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12356,16 +11414,15 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P01-ibm01n02.xml %% Type: not-wf %% Sections: 2.1 -'ibm-not-wf-P01-ibm01n02'(suite) -> []; 'ibm-not-wf-P01-ibm01n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n02.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n02.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_, <<"<?xml version=\"1.0\"?>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - % ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - % ?line check_result(R, "not-wf"). + {ok,_, <<"<?xml version=\"1.0\"?>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + % R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + % check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12373,15 +11430,14 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P01-ibm01n03.xml %% Type: not-wf %% Sections: 2.1 -'ibm-not-wf-P01-ibm01n03'(suite) -> []; 'ibm-not-wf-P01-ibm01n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n03.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P01/ibm01n03.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_, <<"<title>Wrong combination!</title>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_, <<"<title>Wrong combination!</title>", _/binary>>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -12394,12 +11450,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n01.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n01'(suite) -> []; 'ibm-not-wf-P02-ibm02n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12407,12 +11462,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n02.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n02'(suite) -> []; 'ibm-not-wf-P02-ibm02n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12420,12 +11474,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n03.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n03'(suite) -> []; 'ibm-not-wf-P02-ibm02n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12433,12 +11486,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n04.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n04'(suite) -> []; 'ibm-not-wf-P02-ibm02n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12446,12 +11498,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n05.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n05'(suite) -> []; 'ibm-not-wf-P02-ibm02n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12459,12 +11510,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n06.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n06'(suite) -> []; 'ibm-not-wf-P02-ibm02n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12472,12 +11522,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n07.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n07'(suite) -> []; 'ibm-not-wf-P02-ibm02n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12485,12 +11534,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n08.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n08'(suite) -> []; 'ibm-not-wf-P02-ibm02n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12498,12 +11546,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n09.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n09'(suite) -> []; 'ibm-not-wf-P02-ibm02n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12511,12 +11558,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n10.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n10'(suite) -> []; 'ibm-not-wf-P02-ibm02n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12524,12 +11570,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n11.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n11'(suite) -> []; 'ibm-not-wf-P02-ibm02n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12537,12 +11582,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n12.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n12'(suite) -> []; 'ibm-not-wf-P02-ibm02n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12550,12 +11594,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n13.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n13'(suite) -> []; 'ibm-not-wf-P02-ibm02n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12563,12 +11606,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n14.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n14'(suite) -> []; 'ibm-not-wf-P02-ibm02n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12576,12 +11618,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n15.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n15'(suite) -> []; 'ibm-not-wf-P02-ibm02n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12589,12 +11630,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n16.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n16'(suite) -> []; 'ibm-not-wf-P02-ibm02n16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12602,12 +11642,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n17.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n17'(suite) -> []; 'ibm-not-wf-P02-ibm02n17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12615,12 +11654,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n18.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n18'(suite) -> []; 'ibm-not-wf-P02-ibm02n18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12628,12 +11666,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n19.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n19'(suite) -> []; 'ibm-not-wf-P02-ibm02n19'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n19.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n19.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12641,12 +11678,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n20.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n20'(suite) -> []; 'ibm-not-wf-P02-ibm02n20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12654,12 +11690,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n21.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n21'(suite) -> []; 'ibm-not-wf-P02-ibm02n21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12667,12 +11702,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n22.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n22'(suite) -> []; 'ibm-not-wf-P02-ibm02n22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12680,12 +11714,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n23.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n23'(suite) -> []; 'ibm-not-wf-P02-ibm02n23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12693,12 +11726,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n24.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n24'(suite) -> []; 'ibm-not-wf-P02-ibm02n24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12706,12 +11738,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n25.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n25'(suite) -> []; 'ibm-not-wf-P02-ibm02n25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12719,12 +11750,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n26.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n26'(suite) -> []; 'ibm-not-wf-P02-ibm02n26'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n26.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n26.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12732,12 +11762,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n27.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n27'(suite) -> []; 'ibm-not-wf-P02-ibm02n27'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n27.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n27.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12745,12 +11774,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n28.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n28'(suite) -> []; 'ibm-not-wf-P02-ibm02n28'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n28.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n28.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12758,12 +11786,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n29.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n29'(suite) -> []; 'ibm-not-wf-P02-ibm02n29'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n29.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n29.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12771,12 +11798,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n30.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n30'(suite) -> []; 'ibm-not-wf-P02-ibm02n30'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n30.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n30.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12784,12 +11810,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n31.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n31'(suite) -> []; 'ibm-not-wf-P02-ibm02n31'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n31.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n31.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12797,12 +11822,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n32.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n32'(suite) -> []; 'ibm-not-wf-P02-ibm02n32'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n32.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n32.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12810,12 +11834,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P02-ibm02n33.xml %% Type: not-wf %% Sections: 2.2 -'ibm-not-wf-P02-ibm02n33'(suite) -> []; 'ibm-not-wf-P02-ibm02n33'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n33.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P02/ibm02n33.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -12828,12 +11851,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P03-ibm03n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P03-ibm03n01'(suite) -> []; 'ibm-not-wf-P03-ibm03n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P03/ibm03n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P03/ibm03n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -12846,12 +11868,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n01'(suite) -> []; 'ibm-not-wf-P04-ibm04n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12859,12 +11880,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n02'(suite) -> []; 'ibm-not-wf-P04-ibm04n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12872,12 +11892,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n03'(suite) -> []; 'ibm-not-wf-P04-ibm04n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12885,12 +11904,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n04.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n04'(suite) -> []; 'ibm-not-wf-P04-ibm04n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12898,12 +11916,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n05.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n05'(suite) -> []; 'ibm-not-wf-P04-ibm04n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12911,12 +11928,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n06.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n06'(suite) -> []; 'ibm-not-wf-P04-ibm04n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12924,12 +11940,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n07.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n07'(suite) -> []; 'ibm-not-wf-P04-ibm04n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12937,12 +11952,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n08.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n08'(suite) -> []; 'ibm-not-wf-P04-ibm04n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12950,12 +11964,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n09.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n09'(suite) -> []; 'ibm-not-wf-P04-ibm04n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12963,12 +11976,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n10.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n10'(suite) -> []; 'ibm-not-wf-P04-ibm04n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12976,12 +11988,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n11.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n11'(suite) -> []; 'ibm-not-wf-P04-ibm04n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -12989,12 +12000,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n12.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n12'(suite) -> []; 'ibm-not-wf-P04-ibm04n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13002,12 +12012,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n13.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n13'(suite) -> []; 'ibm-not-wf-P04-ibm04n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13015,12 +12024,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n14.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n14'(suite) -> []; 'ibm-not-wf-P04-ibm04n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13028,12 +12036,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n15.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n15'(suite) -> []; 'ibm-not-wf-P04-ibm04n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13041,12 +12048,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n16.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n16'(suite) -> []; 'ibm-not-wf-P04-ibm04n16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13054,12 +12060,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n17.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n17'(suite) -> []; 'ibm-not-wf-P04-ibm04n17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13067,12 +12072,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P04-ibm04n18.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P04-ibm04n18'(suite) -> []; 'ibm-not-wf-P04-ibm04n18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P04/ibm04n18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13085,12 +12089,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P05-ibm05n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P05-ibm05n01'(suite) -> []; 'ibm-not-wf-P05-ibm05n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13098,12 +12101,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P05-ibm05n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P05-ibm05n02'(suite) -> []; 'ibm-not-wf-P05-ibm05n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13111,12 +12113,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P05-ibm05n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P05-ibm05n03'(suite) -> []; 'ibm-not-wf-P05-ibm05n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P05/ibm05n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13129,12 +12130,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P09-ibm09n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P09-ibm09n01'(suite) -> []; 'ibm-not-wf-P09-ibm09n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13142,12 +12142,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P09-ibm09n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P09-ibm09n02'(suite) -> []; 'ibm-not-wf-P09-ibm09n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13155,12 +12154,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P09-ibm09n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P09-ibm09n03'(suite) -> []; 'ibm-not-wf-P09-ibm09n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13168,12 +12166,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P09-ibm09n04.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P09-ibm09n04'(suite) -> []; 'ibm-not-wf-P09-ibm09n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P09/ibm09n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13186,12 +12183,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n01'(suite) -> []; 'ibm-not-wf-P10-ibm10n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13199,12 +12195,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n02'(suite) -> []; 'ibm-not-wf-P10-ibm10n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13212,12 +12207,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n03'(suite) -> []; 'ibm-not-wf-P10-ibm10n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13225,12 +12219,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n04.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n04'(suite) -> []; 'ibm-not-wf-P10-ibm10n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13238,12 +12231,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n05.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n05'(suite) -> []; 'ibm-not-wf-P10-ibm10n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13251,12 +12243,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n06.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n06'(suite) -> []; 'ibm-not-wf-P10-ibm10n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13264,12 +12255,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n07.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n07'(suite) -> []; 'ibm-not-wf-P10-ibm10n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13277,12 +12267,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P10-ibm10n08.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P10-ibm10n08'(suite) -> []; 'ibm-not-wf-P10-ibm10n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P10/ibm10n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13295,12 +12284,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P11-ibm11n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P11-ibm11n01'(suite) -> []; 'ibm-not-wf-P11-ibm11n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13308,12 +12296,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P11-ibm11n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P11-ibm11n02'(suite) -> []; 'ibm-not-wf-P11-ibm11n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13321,12 +12308,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P11-ibm11n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P11-ibm11n03'(suite) -> []; 'ibm-not-wf-P11-ibm11n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13334,12 +12320,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P11-ibm11n04.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P11-ibm11n04'(suite) -> []; 'ibm-not-wf-P11-ibm11n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P11/ibm11n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13352,12 +12337,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P12-ibm12n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P12-ibm12n01'(suite) -> []; 'ibm-not-wf-P12-ibm12n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13365,12 +12349,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P12-ibm12n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P12-ibm12n02'(suite) -> []; 'ibm-not-wf-P12-ibm12n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13378,12 +12361,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P12-ibm12n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P12-ibm12n03'(suite) -> []; 'ibm-not-wf-P12-ibm12n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P12/ibm12n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13396,12 +12378,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P13-ibm13n01.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P13-ibm13n01'(suite) -> []; 'ibm-not-wf-P13-ibm13n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13409,12 +12390,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P13-ibm13n02.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P13-ibm13n02'(suite) -> []; 'ibm-not-wf-P13-ibm13n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13422,12 +12402,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P13-ibm13n03.xml %% Type: not-wf %% Sections: 2.3 -'ibm-not-wf-P13-ibm13n03'(suite) -> []; 'ibm-not-wf-P13-ibm13n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P13/ibm13n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13440,12 +12419,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P14-ibm14n01.xml %% Type: not-wf %% Sections: 2.4 -'ibm-not-wf-P14-ibm14n01'(suite) -> []; 'ibm-not-wf-P14-ibm14n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13453,12 +12431,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P14-ibm14n02.xml %% Type: not-wf %% Sections: 2.4 -'ibm-not-wf-P14-ibm14n02'(suite) -> []; 'ibm-not-wf-P14-ibm14n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13466,12 +12443,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P14-ibm14n03.xml %% Type: not-wf %% Sections: 2.4 -'ibm-not-wf-P14-ibm14n03'(suite) -> []; 'ibm-not-wf-P14-ibm14n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P14/ibm14n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13484,12 +12460,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P15-ibm15n01.xml %% Type: not-wf %% Sections: 2.5 -'ibm-not-wf-P15-ibm15n01'(suite) -> []; 'ibm-not-wf-P15-ibm15n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13497,12 +12472,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P15-ibm15n02.xml %% Type: not-wf %% Sections: 2.5 -'ibm-not-wf-P15-ibm15n02'(suite) -> []; 'ibm-not-wf-P15-ibm15n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13510,12 +12484,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P15-ibm15n03.xml %% Type: not-wf %% Sections: 2.5 -'ibm-not-wf-P15-ibm15n03'(suite) -> []; 'ibm-not-wf-P15-ibm15n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13523,12 +12496,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P15-ibm15n04.xml %% Type: not-wf %% Sections: 2.5 -'ibm-not-wf-P15-ibm15n04'(suite) -> []; 'ibm-not-wf-P15-ibm15n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P15/ibm15n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13541,12 +12513,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P16-ibm16n01.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P16-ibm16n01'(suite) -> []; 'ibm-not-wf-P16-ibm16n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13554,12 +12525,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P16-ibm16n02.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P16-ibm16n02'(suite) -> []; 'ibm-not-wf-P16-ibm16n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13567,12 +12537,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P16-ibm16n03.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P16-ibm16n03'(suite) -> []; 'ibm-not-wf-P16-ibm16n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13580,12 +12549,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P16-ibm16n04.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P16-ibm16n04'(suite) -> []; 'ibm-not-wf-P16-ibm16n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P16/ibm16n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13598,12 +12566,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P17-ibm17n01.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P17-ibm17n01'(suite) -> []; 'ibm-not-wf-P17-ibm17n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13611,12 +12578,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P17-ibm17n02.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P17-ibm17n02'(suite) -> []; 'ibm-not-wf-P17-ibm17n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13624,12 +12590,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P17-ibm17n03.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P17-ibm17n03'(suite) -> []; 'ibm-not-wf-P17-ibm17n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13637,12 +12602,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P17-ibm17n04.xml %% Type: not-wf %% Sections: 2.6 -'ibm-not-wf-P17-ibm17n04'(suite) -> []; 'ibm-not-wf-P17-ibm17n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P17/ibm17n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13655,12 +12619,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P18-ibm18n01.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P18-ibm18n01'(suite) -> []; 'ibm-not-wf-P18-ibm18n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P18/ibm18n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P18/ibm18n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13668,12 +12631,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P18-ibm18n02.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P18-ibm18n02'(suite) -> []; 'ibm-not-wf-P18-ibm18n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P18/ibm18n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P18/ibm18n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13686,12 +12648,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P19-ibm19n01.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P19-ibm19n01'(suite) -> []; 'ibm-not-wf-P19-ibm19n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13699,12 +12660,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P19-ibm19n02.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P19-ibm19n02'(suite) -> []; 'ibm-not-wf-P19-ibm19n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13712,12 +12672,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P19-ibm19n03.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P19-ibm19n03'(suite) -> []; 'ibm-not-wf-P19-ibm19n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P19/ibm19n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13730,12 +12689,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P20-ibm20n01.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P20-ibm20n01'(suite) -> []; 'ibm-not-wf-P20-ibm20n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P20/ibm20n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P20/ibm20n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13748,12 +12706,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P21-ibm21n01.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P21-ibm21n01'(suite) -> []; 'ibm-not-wf-P21-ibm21n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13761,12 +12718,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P21-ibm21n02.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P21-ibm21n02'(suite) -> []; 'ibm-not-wf-P21-ibm21n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13774,12 +12730,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P21-ibm21n03.xml %% Type: not-wf %% Sections: 2.7 -'ibm-not-wf-P21-ibm21n03'(suite) -> []; 'ibm-not-wf-P21-ibm21n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P21/ibm21n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13792,12 +12747,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P22-ibm22n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P22-ibm22n01'(suite) -> []; 'ibm-not-wf-P22-ibm22n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13805,12 +12759,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P22-ibm22n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P22-ibm22n02'(suite) -> []; 'ibm-not-wf-P22-ibm22n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13818,12 +12771,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P22-ibm22n03.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P22-ibm22n03'(suite) -> []; 'ibm-not-wf-P22-ibm22n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P22/ibm22n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13836,12 +12788,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n01'(suite) -> []; 'ibm-not-wf-P23-ibm23n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13849,12 +12800,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n02'(suite) -> []; 'ibm-not-wf-P23-ibm23n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13862,12 +12812,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n03.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n03'(suite) -> []; 'ibm-not-wf-P23-ibm23n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13875,12 +12824,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n04.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n04'(suite) -> []; 'ibm-not-wf-P23-ibm23n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13888,12 +12836,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n05.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n05'(suite) -> []; 'ibm-not-wf-P23-ibm23n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13901,12 +12848,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P23-ibm23n06.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P23-ibm23n06'(suite) -> []; 'ibm-not-wf-P23-ibm23n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P23/ibm23n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -13919,12 +12865,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n01'(suite) -> []; 'ibm-not-wf-P24-ibm24n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13932,12 +12877,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n02'(suite) -> []; 'ibm-not-wf-P24-ibm24n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13945,12 +12889,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n03.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n03'(suite) -> []; 'ibm-not-wf-P24-ibm24n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13958,12 +12901,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n04.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n04'(suite) -> []; 'ibm-not-wf-P24-ibm24n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13971,12 +12913,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n05.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n05'(suite) -> []; 'ibm-not-wf-P24-ibm24n05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13984,12 +12925,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n06.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n06'(suite) -> []; 'ibm-not-wf-P24-ibm24n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -13997,12 +12937,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n07.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n07'(suite) -> []; 'ibm-not-wf-P24-ibm24n07'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14010,12 +12949,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n08.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n08'(suite) -> []; 'ibm-not-wf-P24-ibm24n08'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n08.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n08.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14023,12 +12961,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P24-ibm24n09.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P24-ibm24n09'(suite) -> []; 'ibm-not-wf-P24-ibm24n09'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n09.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P24/ibm24n09.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14041,12 +12978,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P25-ibm25n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P25-ibm25n01'(suite) -> []; 'ibm-not-wf-P25-ibm25n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P25/ibm25n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P25/ibm25n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14054,12 +12990,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P25-ibm25n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P25-ibm25n02'(suite) -> []; 'ibm-not-wf-P25-ibm25n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P25/ibm25n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P25/ibm25n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14072,12 +13007,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P26-ibm26n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P26-ibm26n01'(suite) -> []; 'ibm-not-wf-P26-ibm26n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P26/ibm26n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P26/ibm26n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14090,15 +13024,14 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P27-ibm27n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P27-ibm27n01'(suite) -> []; 'ibm-not-wf-P27-ibm27n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P27/ibm27n01.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P27/ibm27n01.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_, <<"<!ELEMENT cat EMPTY>">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_, <<"<!ELEMENT cat EMPTY>">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14111,12 +13044,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n01'(suite) -> []; 'ibm-not-wf-P28-ibm28n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14124,12 +13056,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n02'(suite) -> []; 'ibm-not-wf-P28-ibm28n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14137,12 +13068,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n03.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n03'(suite) -> []; 'ibm-not-wf-P28-ibm28n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14150,12 +13080,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n04.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n04'(suite) -> []; 'ibm-not-wf-P28-ibm28n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14163,12 +13092,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n05.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n05'(suite) -> []; 'ibm-not-wf-P28-ibm28n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14176,12 +13104,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n06.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n06'(suite) -> []; 'ibm-not-wf-P28-ibm28n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14189,12 +13116,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n07.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n07'(suite) -> []; 'ibm-not-wf-P28-ibm28n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14202,12 +13128,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P28-ibm28n08.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P28-ibm28n08'(suite) -> []; 'ibm-not-wf-P28-ibm28n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P28/ibm28n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14220,12 +13145,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-p28a-ibm28an01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-p28a-ibm28an01'(suite) -> []; 'ibm-not-wf-p28a-ibm28an01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/p28a/ibm28an01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/p28a/ibm28an01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14238,12 +13162,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n01'(suite) -> []; 'ibm-not-wf-P29-ibm29n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14251,12 +13174,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n02.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n02'(suite) -> []; 'ibm-not-wf-P29-ibm29n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14264,12 +13186,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n03.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n03'(suite) -> []; 'ibm-not-wf-P29-ibm29n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14277,12 +13198,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n04.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n04'(suite) -> []; 'ibm-not-wf-P29-ibm29n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14290,12 +13210,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n05.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n05'(suite) -> []; 'ibm-not-wf-P29-ibm29n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14303,12 +13222,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n06.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n06'(suite) -> []; 'ibm-not-wf-P29-ibm29n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14316,12 +13234,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P29-ibm29n07.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P29-ibm29n07'(suite) -> []; 'ibm-not-wf-P29-ibm29n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P29/ibm29n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14334,12 +13251,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P30-ibm30n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P30-ibm30n01'(suite) -> []; 'ibm-not-wf-P30-ibm30n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P30/ibm30n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P30/ibm30n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14352,12 +13268,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P31-ibm31n01.xml %% Type: not-wf %% Sections: 2.8 -'ibm-not-wf-P31-ibm31n01'(suite) -> []; 'ibm-not-wf-P31-ibm31n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P31/ibm31n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P31/ibm31n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14370,12 +13285,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n01.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n01'(suite) -> []; 'ibm-not-wf-P32-ibm32n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14383,12 +13297,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n02.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n02'(suite) -> []; 'ibm-not-wf-P32-ibm32n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14396,12 +13309,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n03.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n03'(suite) -> []; 'ibm-not-wf-P32-ibm32n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14409,12 +13321,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n04.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n04'(suite) -> []; 'ibm-not-wf-P32-ibm32n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14422,12 +13333,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n05.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n05'(suite) -> []; 'ibm-not-wf-P32-ibm32n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14435,12 +13345,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n06.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n06'(suite) -> []; 'ibm-not-wf-P32-ibm32n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14448,12 +13357,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n07.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n07'(suite) -> []; 'ibm-not-wf-P32-ibm32n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14461,12 +13369,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n08.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n08'(suite) -> []; 'ibm-not-wf-P32-ibm32n08'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n08.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n08.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14474,12 +13381,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P32-ibm32n09.xml %% Type: not-wf %% Sections: 2.9 -'ibm-not-wf-P32-ibm32n09'(suite) -> []; 'ibm-not-wf-P32-ibm32n09'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n09.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P32/ibm32n09.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14492,12 +13398,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n01.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n01'(suite) -> []; 'ibm-not-wf-P39-ibm39n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14505,12 +13410,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n02.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n02'(suite) -> []; 'ibm-not-wf-P39-ibm39n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14518,12 +13422,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n03.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n03'(suite) -> []; 'ibm-not-wf-P39-ibm39n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14531,12 +13434,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n04.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n04'(suite) -> []; 'ibm-not-wf-P39-ibm39n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14544,12 +13446,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n05.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n05'(suite) -> []; 'ibm-not-wf-P39-ibm39n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14557,15 +13458,14 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P39-ibm39n06.xml %% Type: not-wf %% Sections: 3 -'ibm-not-wf-P39-ibm39n06'(suite) -> []; 'ibm-not-wf-P39-ibm39n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n06.xml"]), + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P39/ibm39n06.xml"]), %% Special case becase we returns everything after a legal document %% as an rest instead of giving and error to let the user handle %% multipple docs on a stream. - ?line {ok,_,<<"content after end tag\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). - %%?line check_result(R, "not-wf"). + {ok,_,<<"content after end tag\r\n">>} = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]). + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14578,12 +13478,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P40-ibm40n01.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P40-ibm40n01'(suite) -> []; 'ibm-not-wf-P40-ibm40n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14591,12 +13490,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P40-ibm40n02.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P40-ibm40n02'(suite) -> []; 'ibm-not-wf-P40-ibm40n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14604,12 +13502,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P40-ibm40n03.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P40-ibm40n03'(suite) -> []; 'ibm-not-wf-P40-ibm40n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14617,12 +13514,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P40-ibm40n04.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P40-ibm40n04'(suite) -> []; 'ibm-not-wf-P40-ibm40n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14630,12 +13526,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P40-ibm40n05.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P40-ibm40n05'(suite) -> []; 'ibm-not-wf-P40-ibm40n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P40/ibm40n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14648,12 +13543,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n01.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n01'(suite) -> []; 'ibm-not-wf-P41-ibm41n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14661,12 +13555,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n02.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n02'(suite) -> []; 'ibm-not-wf-P41-ibm41n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14674,12 +13567,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n03.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n03'(suite) -> []; 'ibm-not-wf-P41-ibm41n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14687,12 +13579,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n04.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n04'(suite) -> []; 'ibm-not-wf-P41-ibm41n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14700,12 +13591,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n05.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n05'(suite) -> []; 'ibm-not-wf-P41-ibm41n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14713,12 +13603,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n06.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n06'(suite) -> []; 'ibm-not-wf-P41-ibm41n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14726,12 +13615,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n07.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n07'(suite) -> []; 'ibm-not-wf-P41-ibm41n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14739,12 +13627,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n08.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n08'(suite) -> []; 'ibm-not-wf-P41-ibm41n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14752,12 +13639,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n09.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n09'(suite) -> []; 'ibm-not-wf-P41-ibm41n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14765,12 +13651,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n10.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n10'(suite) -> []; 'ibm-not-wf-P41-ibm41n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14778,12 +13663,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n11.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n11'(suite) -> []; 'ibm-not-wf-P41-ibm41n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14791,12 +13675,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n12.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n12'(suite) -> []; 'ibm-not-wf-P41-ibm41n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14804,12 +13687,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n13.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n13'(suite) -> []; 'ibm-not-wf-P41-ibm41n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14817,12 +13699,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P41-ibm41n14.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P41-ibm41n14'(suite) -> []; 'ibm-not-wf-P41-ibm41n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P41/ibm41n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14835,12 +13716,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P42-ibm42n01.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P42-ibm42n01'(suite) -> []; 'ibm-not-wf-P42-ibm42n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14848,12 +13728,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P42-ibm42n02.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P42-ibm42n02'(suite) -> []; 'ibm-not-wf-P42-ibm42n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14861,12 +13740,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P42-ibm42n03.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P42-ibm42n03'(suite) -> []; 'ibm-not-wf-P42-ibm42n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14874,12 +13752,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P42-ibm42n04.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P42-ibm42n04'(suite) -> []; 'ibm-not-wf-P42-ibm42n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14887,12 +13764,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P42-ibm42n05.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P42-ibm42n05'(suite) -> []; 'ibm-not-wf-P42-ibm42n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P42/ibm42n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14905,12 +13781,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P43-ibm43n01.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P43-ibm43n01'(suite) -> []; 'ibm-not-wf-P43-ibm43n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14918,12 +13793,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P43-ibm43n02.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P43-ibm43n02'(suite) -> []; 'ibm-not-wf-P43-ibm43n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14931,12 +13805,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P43-ibm43n04.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P43-ibm43n04'(suite) -> []; 'ibm-not-wf-P43-ibm43n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14944,12 +13817,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P43-ibm43n05.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P43-ibm43n05'(suite) -> []; 'ibm-not-wf-P43-ibm43n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P43/ibm43n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -14962,12 +13834,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P44-ibm44n01.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P44-ibm44n01'(suite) -> []; 'ibm-not-wf-P44-ibm44n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14975,12 +13846,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P44-ibm44n02.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P44-ibm44n02'(suite) -> []; 'ibm-not-wf-P44-ibm44n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -14988,12 +13858,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P44-ibm44n03.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P44-ibm44n03'(suite) -> []; 'ibm-not-wf-P44-ibm44n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15001,12 +13870,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P44-ibm44n04.xml %% Type: not-wf %% Sections: 3.1 -'ibm-not-wf-P44-ibm44n04'(suite) -> []; 'ibm-not-wf-P44-ibm44n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P44/ibm44n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15019,12 +13887,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n01.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n01'(suite) -> []; 'ibm-not-wf-P45-ibm45n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15032,12 +13899,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n02.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n02'(suite) -> []; 'ibm-not-wf-P45-ibm45n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15045,12 +13911,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n03.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n03'(suite) -> []; 'ibm-not-wf-P45-ibm45n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15058,12 +13923,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n04.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n04'(suite) -> []; 'ibm-not-wf-P45-ibm45n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15071,12 +13935,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n05.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n05'(suite) -> []; 'ibm-not-wf-P45-ibm45n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15084,12 +13947,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n06.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n06'(suite) -> []; 'ibm-not-wf-P45-ibm45n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15097,12 +13959,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n07.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n07'(suite) -> []; 'ibm-not-wf-P45-ibm45n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15110,12 +13971,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n08.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n08'(suite) -> []; 'ibm-not-wf-P45-ibm45n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15123,12 +13983,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P45-ibm45n09.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P45-ibm45n09'(suite) -> []; 'ibm-not-wf-P45-ibm45n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P45/ibm45n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15141,12 +14000,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P46-ibm46n01.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P46-ibm46n01'(suite) -> []; 'ibm-not-wf-P46-ibm46n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15154,12 +14012,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P46-ibm46n02.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P46-ibm46n02'(suite) -> []; 'ibm-not-wf-P46-ibm46n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15167,12 +14024,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P46-ibm46n03.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P46-ibm46n03'(suite) -> []; 'ibm-not-wf-P46-ibm46n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15180,12 +14036,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P46-ibm46n04.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P46-ibm46n04'(suite) -> []; 'ibm-not-wf-P46-ibm46n04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15193,12 +14048,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P46-ibm46n05.xml %% Type: not-wf %% Sections: 3.2 -'ibm-not-wf-P46-ibm46n05'(suite) -> []; 'ibm-not-wf-P46-ibm46n05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P46/ibm46n05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15211,12 +14065,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n01.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n01'(suite) -> []; 'ibm-not-wf-P47-ibm47n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15224,12 +14077,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n02.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n02'(suite) -> []; 'ibm-not-wf-P47-ibm47n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15237,12 +14089,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n03.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n03'(suite) -> []; 'ibm-not-wf-P47-ibm47n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15250,12 +14101,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n04.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n04'(suite) -> []; 'ibm-not-wf-P47-ibm47n04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15263,12 +14113,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n05.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n05'(suite) -> []; 'ibm-not-wf-P47-ibm47n05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15276,12 +14125,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P47-ibm47n06.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P47-ibm47n06'(suite) -> []; 'ibm-not-wf-P47-ibm47n06'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P47/ibm47n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15294,12 +14142,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n01.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n01'(suite) -> []; 'ibm-not-wf-P48-ibm48n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15307,12 +14154,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n02.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n02'(suite) -> []; 'ibm-not-wf-P48-ibm48n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15320,12 +14166,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n03.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n03'(suite) -> []; 'ibm-not-wf-P48-ibm48n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15333,12 +14178,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n04.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n04'(suite) -> []; 'ibm-not-wf-P48-ibm48n04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15346,12 +14190,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n05.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n05'(suite) -> []; 'ibm-not-wf-P48-ibm48n05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15359,12 +14202,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n06.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n06'(suite) -> []; 'ibm-not-wf-P48-ibm48n06'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15372,12 +14214,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P48-ibm48n07.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P48-ibm48n07'(suite) -> []; 'ibm-not-wf-P48-ibm48n07'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P48/ibm48n07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15390,12 +14231,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n01.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n01'(suite) -> []; 'ibm-not-wf-P49-ibm49n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15403,12 +14243,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n02.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n02'(suite) -> []; 'ibm-not-wf-P49-ibm49n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15416,12 +14255,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n03.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n03'(suite) -> []; 'ibm-not-wf-P49-ibm49n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15429,12 +14267,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n04.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n04'(suite) -> []; 'ibm-not-wf-P49-ibm49n04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15442,12 +14279,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n05.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n05'(suite) -> []; 'ibm-not-wf-P49-ibm49n05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15455,12 +14291,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P49-ibm49n06.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P49-ibm49n06'(suite) -> []; 'ibm-not-wf-P49-ibm49n06'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P49/ibm49n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15473,12 +14308,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n01.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n01'(suite) -> []; 'ibm-not-wf-P50-ibm50n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15486,12 +14320,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n02.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n02'(suite) -> []; 'ibm-not-wf-P50-ibm50n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15499,12 +14332,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n03.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n03'(suite) -> []; 'ibm-not-wf-P50-ibm50n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15512,12 +14344,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n04.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n04'(suite) -> []; 'ibm-not-wf-P50-ibm50n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15525,12 +14356,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n05.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n05'(suite) -> []; 'ibm-not-wf-P50-ibm50n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15538,12 +14368,11 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n06.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n06'(suite) -> []; 'ibm-not-wf-P50-ibm50n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15551,18 +14380,16 @@ end_per_testcase(_Func,_Config) -> %% ID: ibm-not-wf-P50-ibm50n07.xml %% Type: not-wf %% Sections: 3.2.1 -'ibm-not-wf-P50-ibm50n07'(suite) -> []; 'ibm-not-wf-P50-ibm50n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P50/ibm50n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 50 -testcases67(suite) -> []. %% ['ibm-not-wf-P50-ibm50n01','ibm-not-wf-P50-ibm50n02','ibm-not-wf-P50-ibm50n03','ibm-not-wf-P50-ibm50n04','ibm-not-wf-P50-ibm50n05','ibm-not-wf-P50-ibm50n06','ibm-not-wf-P50-ibm50n07']. %%---------------------------------------------------------------------- @@ -15571,12 +14398,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n01.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n01'(suite) -> []; 'ibm-not-wf-P51-ibm51n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15584,12 +14410,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n02.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n02'(suite) -> []; 'ibm-not-wf-P51-ibm51n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15597,12 +14422,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n03.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n03'(suite) -> []; 'ibm-not-wf-P51-ibm51n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15610,12 +14434,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n04.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n04'(suite) -> []; 'ibm-not-wf-P51-ibm51n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15623,12 +14446,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n05.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n05'(suite) -> []; 'ibm-not-wf-P51-ibm51n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15636,12 +14458,11 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n06.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n06'(suite) -> []; 'ibm-not-wf-P51-ibm51n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15649,18 +14470,16 @@ testcases67(suite) -> []. %% ID: ibm-not-wf-P51-ibm51n07.xml %% Type: not-wf %% Sections: 3.2.2 -'ibm-not-wf-P51-ibm51n07'(suite) -> []; 'ibm-not-wf-P51-ibm51n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P51/ibm51n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 51 -testcases68(suite) -> []. %% ['ibm-not-wf-P51-ibm51n01','ibm-not-wf-P51-ibm51n02','ibm-not-wf-P51-ibm51n03','ibm-not-wf-P51-ibm51n04','ibm-not-wf-P51-ibm51n05','ibm-not-wf-P51-ibm51n06','ibm-not-wf-P51-ibm51n07']. %%---------------------------------------------------------------------- @@ -15669,12 +14488,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n01.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n01'(suite) -> []; 'ibm-not-wf-P52-ibm52n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15682,12 +14500,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n02.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n02'(suite) -> []; 'ibm-not-wf-P52-ibm52n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15695,12 +14512,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n03.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n03'(suite) -> []; 'ibm-not-wf-P52-ibm52n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15708,12 +14524,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n04.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n04'(suite) -> []; 'ibm-not-wf-P52-ibm52n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15721,12 +14536,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n05.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n05'(suite) -> []; 'ibm-not-wf-P52-ibm52n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15734,12 +14548,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P52-ibm52n06.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P52-ibm52n06'(suite) -> []; 'ibm-not-wf-P52-ibm52n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P52/ibm52n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15752,12 +14565,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n01.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n01'(suite) -> []; 'ibm-not-wf-P53-ibm53n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15765,12 +14577,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n02.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n02'(suite) -> []; 'ibm-not-wf-P53-ibm53n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15778,12 +14589,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n03.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n03'(suite) -> []; 'ibm-not-wf-P53-ibm53n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15791,12 +14601,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n04.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n04'(suite) -> []; 'ibm-not-wf-P53-ibm53n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15804,12 +14613,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n05.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n05'(suite) -> []; 'ibm-not-wf-P53-ibm53n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15817,12 +14625,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n06.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n06'(suite) -> []; 'ibm-not-wf-P53-ibm53n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15830,12 +14637,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n07.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n07'(suite) -> []; 'ibm-not-wf-P53-ibm53n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15843,12 +14649,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P53-ibm53n08.xml %% Type: not-wf %% Sections: 3.3 -'ibm-not-wf-P53-ibm53n08'(suite) -> []; 'ibm-not-wf-P53-ibm53n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P53/ibm53n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15861,12 +14666,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P54-ibm54n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P54-ibm54n01'(suite) -> []; 'ibm-not-wf-P54-ibm54n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P54/ibm54n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P54/ibm54n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15874,12 +14678,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P54-ibm54n02.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P54-ibm54n02'(suite) -> []; 'ibm-not-wf-P54-ibm54n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P54/ibm54n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P54/ibm54n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15892,12 +14695,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P55-ibm55n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P55-ibm55n01'(suite) -> []; 'ibm-not-wf-P55-ibm55n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15905,12 +14707,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P55-ibm55n02.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P55-ibm55n02'(suite) -> []; 'ibm-not-wf-P55-ibm55n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15918,12 +14719,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P55-ibm55n03.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P55-ibm55n03'(suite) -> []; 'ibm-not-wf-P55-ibm55n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P55/ibm55n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -15936,12 +14736,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n01'(suite) -> []; 'ibm-not-wf-P56-ibm56n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15949,12 +14748,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n02.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n02'(suite) -> []; 'ibm-not-wf-P56-ibm56n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15962,12 +14760,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n03.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n03'(suite) -> []; 'ibm-not-wf-P56-ibm56n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15975,12 +14772,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n04.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n04'(suite) -> []; 'ibm-not-wf-P56-ibm56n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -15988,12 +14784,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n05.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n05'(suite) -> []; 'ibm-not-wf-P56-ibm56n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16001,12 +14796,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n06.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n06'(suite) -> []; 'ibm-not-wf-P56-ibm56n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16014,12 +14808,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P56-ibm56n07.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P56-ibm56n07'(suite) -> []; 'ibm-not-wf-P56-ibm56n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P56/ibm56n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16032,12 +14825,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P57-ibm57n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P57-ibm57n01'(suite) -> []; 'ibm-not-wf-P57-ibm57n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P57/ibm57n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P57/ibm57n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16050,12 +14842,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n01'(suite) -> []; 'ibm-not-wf-P58-ibm58n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16063,12 +14854,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n02.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n02'(suite) -> []; 'ibm-not-wf-P58-ibm58n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16076,12 +14866,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n03.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n03'(suite) -> []; 'ibm-not-wf-P58-ibm58n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16089,12 +14878,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n04.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n04'(suite) -> []; 'ibm-not-wf-P58-ibm58n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16102,12 +14890,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n05.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n05'(suite) -> []; 'ibm-not-wf-P58-ibm58n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16115,12 +14902,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n06.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n06'(suite) -> []; 'ibm-not-wf-P58-ibm58n06'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16128,12 +14914,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n07.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n07'(suite) -> []; 'ibm-not-wf-P58-ibm58n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16141,12 +14926,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P58-ibm58n08.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P58-ibm58n08'(suite) -> []; 'ibm-not-wf-P58-ibm58n08'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n08.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P58/ibm58n08.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16159,12 +14943,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n01.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n01'(suite) -> []; 'ibm-not-wf-P59-ibm59n01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16172,12 +14955,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n02.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n02'(suite) -> []; 'ibm-not-wf-P59-ibm59n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16185,12 +14967,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n03.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n03'(suite) -> []; 'ibm-not-wf-P59-ibm59n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16198,12 +14979,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n04.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n04'(suite) -> []; 'ibm-not-wf-P59-ibm59n04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16211,12 +14991,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n05.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n05'(suite) -> []; 'ibm-not-wf-P59-ibm59n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16224,12 +15003,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P59-ibm59n06.xml %% Type: not-wf %% Sections: 3.3.1 -'ibm-not-wf-P59-ibm59n06'(suite) -> []; 'ibm-not-wf-P59-ibm59n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P59/ibm59n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16242,12 +15020,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n01.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n01'(suite) -> []; 'ibm-not-wf-P60-ibm60n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16255,12 +15032,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n02.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n02'(suite) -> []; 'ibm-not-wf-P60-ibm60n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16268,12 +15044,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n03.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n03'(suite) -> []; 'ibm-not-wf-P60-ibm60n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16281,12 +15056,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n04.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n04'(suite) -> []; 'ibm-not-wf-P60-ibm60n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16294,12 +15068,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n05.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n05'(suite) -> []; 'ibm-not-wf-P60-ibm60n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16307,12 +15080,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n06.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n06'(suite) -> []; 'ibm-not-wf-P60-ibm60n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16320,12 +15092,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n07.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n07'(suite) -> []; 'ibm-not-wf-P60-ibm60n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16333,12 +15104,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P60-ibm60n08.xml %% Type: not-wf %% Sections: 3.3.2 -'ibm-not-wf-P60-ibm60n08'(suite) -> []; 'ibm-not-wf-P60-ibm60n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P60/ibm60n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16351,12 +15121,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P61-ibm61n01.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P61-ibm61n01'(suite) -> []; 'ibm-not-wf-P61-ibm61n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P61/ibm61n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P61/ibm61n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16369,12 +15138,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n01.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n01'(suite) -> []; 'ibm-not-wf-P62-ibm62n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16382,12 +15150,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n02.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n02'(suite) -> []; 'ibm-not-wf-P62-ibm62n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16395,12 +15162,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n03.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n03'(suite) -> []; 'ibm-not-wf-P62-ibm62n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16408,12 +15174,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n04.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n04'(suite) -> []; 'ibm-not-wf-P62-ibm62n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16421,12 +15186,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n05.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n05'(suite) -> []; 'ibm-not-wf-P62-ibm62n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16434,12 +15198,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n06.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n06'(suite) -> []; 'ibm-not-wf-P62-ibm62n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16447,12 +15210,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n07.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n07'(suite) -> []; 'ibm-not-wf-P62-ibm62n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16460,12 +15222,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P62-ibm62n08.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P62-ibm62n08'(suite) -> []; 'ibm-not-wf-P62-ibm62n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P62/ibm62n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16478,12 +15239,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n01.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n01'(suite) -> []; 'ibm-not-wf-P63-ibm63n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16491,12 +15251,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n02.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n02'(suite) -> []; 'ibm-not-wf-P63-ibm63n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16504,12 +15263,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n03.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n03'(suite) -> []; 'ibm-not-wf-P63-ibm63n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16517,12 +15275,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n04.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n04'(suite) -> []; 'ibm-not-wf-P63-ibm63n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16530,12 +15287,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n05.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n05'(suite) -> []; 'ibm-not-wf-P63-ibm63n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16543,12 +15299,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n06.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n06'(suite) -> []; 'ibm-not-wf-P63-ibm63n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16556,12 +15311,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P63-ibm63n07.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P63-ibm63n07'(suite) -> []; 'ibm-not-wf-P63-ibm63n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P63/ibm63n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16574,12 +15328,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P64-ibm64n01.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P64-ibm64n01'(suite) -> []; 'ibm-not-wf-P64-ibm64n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16587,12 +15340,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P64-ibm64n02.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P64-ibm64n02'(suite) -> []; 'ibm-not-wf-P64-ibm64n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16600,12 +15352,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P64-ibm64n03.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P64-ibm64n03'(suite) -> []; 'ibm-not-wf-P64-ibm64n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P64/ibm64n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16618,12 +15369,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P65-ibm65n01.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P65-ibm65n01'(suite) -> []; 'ibm-not-wf-P65-ibm65n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P65/ibm65n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P65/ibm65n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16631,12 +15381,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P65-ibm65n02.xml %% Type: not-wf %% Sections: 3.4 -'ibm-not-wf-P65-ibm65n02'(suite) -> []; 'ibm-not-wf-P65-ibm65n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P65/ibm65n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P65/ibm65n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16649,12 +15398,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n01.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n01'(suite) -> []; 'ibm-not-wf-P66-ibm66n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16662,12 +15410,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n02.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n02'(suite) -> []; 'ibm-not-wf-P66-ibm66n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16675,12 +15422,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n03.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n03'(suite) -> []; 'ibm-not-wf-P66-ibm66n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16688,12 +15434,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n04.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n04'(suite) -> []; 'ibm-not-wf-P66-ibm66n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16701,12 +15446,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n05.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n05'(suite) -> []; 'ibm-not-wf-P66-ibm66n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16714,12 +15458,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n06.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n06'(suite) -> []; 'ibm-not-wf-P66-ibm66n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16727,12 +15470,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n07.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n07'(suite) -> []; 'ibm-not-wf-P66-ibm66n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16740,12 +15482,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n08.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n08'(suite) -> []; 'ibm-not-wf-P66-ibm66n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16753,12 +15494,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n09.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n09'(suite) -> []; 'ibm-not-wf-P66-ibm66n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16766,12 +15506,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n10.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n10'(suite) -> []; 'ibm-not-wf-P66-ibm66n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16779,12 +15518,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n11.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n11'(suite) -> []; 'ibm-not-wf-P66-ibm66n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16792,12 +15530,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n12.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n12'(suite) -> []; 'ibm-not-wf-P66-ibm66n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16805,12 +15542,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n13.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n13'(suite) -> []; 'ibm-not-wf-P66-ibm66n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16818,12 +15554,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n14.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n14'(suite) -> []; 'ibm-not-wf-P66-ibm66n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16831,12 +15566,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P66-ibm66n15.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P66-ibm66n15'(suite) -> []; 'ibm-not-wf-P66-ibm66n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P66/ibm66n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16849,12 +15583,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n01.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n01'(suite) -> []; 'ibm-not-wf-P68-ibm68n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16862,12 +15595,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n02.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n02'(suite) -> []; 'ibm-not-wf-P68-ibm68n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16875,12 +15607,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n03.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n03'(suite) -> []; 'ibm-not-wf-P68-ibm68n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16888,12 +15619,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n04.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n04'(suite) -> []; 'ibm-not-wf-P68-ibm68n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16901,12 +15631,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n05.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n05'(suite) -> []; 'ibm-not-wf-P68-ibm68n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16914,12 +15643,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n06.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n06'(suite) -> []; 'ibm-not-wf-P68-ibm68n06'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16927,12 +15655,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n07.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n07'(suite) -> []; 'ibm-not-wf-P68-ibm68n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16940,12 +15667,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n08.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n08'(suite) -> []; 'ibm-not-wf-P68-ibm68n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16953,12 +15679,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n09.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n09'(suite) -> []; 'ibm-not-wf-P68-ibm68n09'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n09.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n09.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16966,12 +15691,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P68-ibm68n10.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P68-ibm68n10'(suite) -> []; 'ibm-not-wf-P68-ibm68n10'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n10.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P68/ibm68n10.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -16984,12 +15708,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n01.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n01'(suite) -> []; 'ibm-not-wf-P69-ibm69n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -16997,12 +15720,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n02.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n02'(suite) -> []; 'ibm-not-wf-P69-ibm69n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17010,12 +15732,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n03.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n03'(suite) -> []; 'ibm-not-wf-P69-ibm69n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17023,12 +15744,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n04.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n04'(suite) -> []; 'ibm-not-wf-P69-ibm69n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17036,12 +15756,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n05.xml %% Type: error %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n05'(suite) -> []; 'ibm-not-wf-P69-ibm69n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "error"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "error"). %%---------------------------------------------------------------------- %% Test Case @@ -17049,12 +15768,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n06.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n06'(suite) -> []; 'ibm-not-wf-P69-ibm69n06'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n06.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n06.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17062,12 +15780,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P69-ibm69n07.xml %% Type: not-wf %% Sections: 4.1 -'ibm-not-wf-P69-ibm69n07'(suite) -> []; 'ibm-not-wf-P69-ibm69n07'(_Config) -> {skip, "No loop detection yet"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n07.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P69/ibm69n07.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17080,12 +15797,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm70n01.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm70n01'(suite) -> []; 'ibm-not-wf-P71-ibm70n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm70n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm70n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17093,12 +15809,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n01.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n01'(suite) -> []; 'ibm-not-wf-P71-ibm71n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17106,12 +15821,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n02.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n02'(suite) -> []; 'ibm-not-wf-P71-ibm71n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17119,12 +15833,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n03.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n03'(suite) -> []; 'ibm-not-wf-P71-ibm71n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17132,12 +15845,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n04.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n04'(suite) -> []; 'ibm-not-wf-P71-ibm71n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17145,12 +15857,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n05.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n05'(suite) -> []; 'ibm-not-wf-P71-ibm71n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17158,12 +15869,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n06.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n06'(suite) -> []; 'ibm-not-wf-P71-ibm71n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17171,12 +15881,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n07.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n07'(suite) -> []; 'ibm-not-wf-P71-ibm71n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17184,12 +15893,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P71-ibm71n08.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P71-ibm71n08'(suite) -> []; 'ibm-not-wf-P71-ibm71n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P71/ibm71n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17202,12 +15910,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n01.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n01'(suite) -> []; 'ibm-not-wf-P72-ibm72n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17215,12 +15922,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n02.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n02'(suite) -> []; 'ibm-not-wf-P72-ibm72n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17228,12 +15934,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n03.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n03'(suite) -> []; 'ibm-not-wf-P72-ibm72n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17241,12 +15946,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n04.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n04'(suite) -> []; 'ibm-not-wf-P72-ibm72n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17254,12 +15958,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n05.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n05'(suite) -> []; 'ibm-not-wf-P72-ibm72n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17267,12 +15970,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n06.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n06'(suite) -> []; 'ibm-not-wf-P72-ibm72n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17280,12 +15982,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n07.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n07'(suite) -> []; 'ibm-not-wf-P72-ibm72n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17293,12 +15994,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n08.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n08'(suite) -> []; 'ibm-not-wf-P72-ibm72n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17306,12 +16006,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P72-ibm72n09.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P72-ibm72n09'(suite) -> []; 'ibm-not-wf-P72-ibm72n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P72/ibm72n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17324,12 +16023,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P73-ibm73n01.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P73-ibm73n01'(suite) -> []; 'ibm-not-wf-P73-ibm73n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P73/ibm73n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P73/ibm73n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17337,12 +16035,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P73-ibm73n03.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P73-ibm73n03'(suite) -> []; 'ibm-not-wf-P73-ibm73n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P73/ibm73n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P73/ibm73n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17355,12 +16052,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P74-ibm74n01.xml %% Type: not-wf %% Sections: 4.2 -'ibm-not-wf-P74-ibm74n01'(suite) -> []; 'ibm-not-wf-P74-ibm74n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P74/ibm74n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P74/ibm74n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17373,12 +16069,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n01.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n01'(suite) -> []; 'ibm-not-wf-P75-ibm75n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17386,12 +16081,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n02.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n02'(suite) -> []; 'ibm-not-wf-P75-ibm75n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17399,12 +16093,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n03.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n03'(suite) -> []; 'ibm-not-wf-P75-ibm75n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17412,12 +16105,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n04.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n04'(suite) -> []; 'ibm-not-wf-P75-ibm75n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17425,12 +16117,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n05.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n05'(suite) -> []; 'ibm-not-wf-P75-ibm75n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17438,12 +16129,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n06.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n06'(suite) -> []; 'ibm-not-wf-P75-ibm75n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17451,12 +16141,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n07.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n07'(suite) -> []; 'ibm-not-wf-P75-ibm75n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17464,12 +16153,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n08.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n08'(suite) -> []; 'ibm-not-wf-P75-ibm75n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17477,12 +16165,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n09.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n09'(suite) -> []; 'ibm-not-wf-P75-ibm75n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17490,12 +16177,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n10.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n10'(suite) -> []; 'ibm-not-wf-P75-ibm75n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17503,12 +16189,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n11.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n11'(suite) -> []; 'ibm-not-wf-P75-ibm75n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17516,12 +16201,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n12.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n12'(suite) -> []; 'ibm-not-wf-P75-ibm75n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17529,12 +16213,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P75-ibm75n13.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P75-ibm75n13'(suite) -> []; 'ibm-not-wf-P75-ibm75n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P75/ibm75n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17547,12 +16230,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n01.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n01'(suite) -> []; 'ibm-not-wf-P76-ibm76n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17560,12 +16242,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n02.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n02'(suite) -> []; 'ibm-not-wf-P76-ibm76n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17573,12 +16254,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n03.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n03'(suite) -> []; 'ibm-not-wf-P76-ibm76n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17586,12 +16266,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n04.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n04'(suite) -> []; 'ibm-not-wf-P76-ibm76n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17599,12 +16278,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n05.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n05'(suite) -> []; 'ibm-not-wf-P76-ibm76n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17612,12 +16290,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n06.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n06'(suite) -> []; 'ibm-not-wf-P76-ibm76n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17625,12 +16302,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P76-ibm76n07.xml %% Type: not-wf %% Sections: 4.2.2 -'ibm-not-wf-P76-ibm76n07'(suite) -> []; 'ibm-not-wf-P76-ibm76n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P76/ibm76n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17643,12 +16319,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P77-ibm77n01.xml %% Type: not-wf %% Sections: 4.3.1 -'ibm-not-wf-P77-ibm77n01'(suite) -> []; 'ibm-not-wf-P77-ibm77n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17656,12 +16331,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P77-ibm77n02.xml %% Type: not-wf %% Sections: 4.3.1 -'ibm-not-wf-P77-ibm77n02'(suite) -> []; 'ibm-not-wf-P77-ibm77n02'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n02.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n02.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17669,12 +16343,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P77-ibm77n03.xml %% Type: not-wf %% Sections: 4.3.1 -'ibm-not-wf-P77-ibm77n03'(suite) -> []; 'ibm-not-wf-P77-ibm77n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17682,12 +16355,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P77-ibm77n04.xml %% Type: not-wf %% Sections: 4.3.1 -'ibm-not-wf-P77-ibm77n04'(suite) -> []; 'ibm-not-wf-P77-ibm77n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P77/ibm77n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17700,12 +16372,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P78-ibm78n01.xml %% Type: not-wf %% Sections: 4.3.2 -'ibm-not-wf-P78-ibm78n01'(suite) -> []; 'ibm-not-wf-P78-ibm78n01'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P78/ibm78n01.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P78/ibm78n01.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17713,12 +16384,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P78-ibm78n02.xml %% Type: not-wf %% Sections: 4.3.2 -'ibm-not-wf-P78-ibm78n02'(suite) -> []; 'ibm-not-wf-P78-ibm78n02'(Config) -> {skip, "Fix 3"}. - %%?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - %%?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P78/ibm78n02.xml"]), - %%?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - %%?line check_result(R, "not-wf"). + %%file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + %%Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P78/ibm78n02.xml"]), + %%R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + %%check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17731,12 +16401,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P79-ibm79n01.xml %% Type: not-wf %% Sections: 4.3.2 -'ibm-not-wf-P79-ibm79n01'(suite) -> []; 'ibm-not-wf-P79-ibm79n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P79/ibm79n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P79/ibm79n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17744,12 +16413,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P79-ibm79n02.xml %% Type: not-wf %% Sections: 4.3.2 -'ibm-not-wf-P79-ibm79n02'(suite) -> []; 'ibm-not-wf-P79-ibm79n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P79/ibm79n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P79/ibm79n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17762,12 +16430,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n01.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n01'(suite) -> []; 'ibm-not-wf-P80-ibm80n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17775,12 +16442,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n02.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n02'(suite) -> []; 'ibm-not-wf-P80-ibm80n02'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n02.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n02.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17788,12 +16454,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n03.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n03'(suite) -> []; 'ibm-not-wf-P80-ibm80n03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "not-wf"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17801,12 +16466,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n04.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n04'(suite) -> []; 'ibm-not-wf-P80-ibm80n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17814,12 +16478,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n05.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n05'(suite) -> []; 'ibm-not-wf-P80-ibm80n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17827,12 +16490,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P80-ibm80n06.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P80-ibm80n06'(suite) -> []; 'ibm-not-wf-P80-ibm80n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P80/ibm80n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17845,12 +16507,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n01.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n01'(suite) -> []; 'ibm-not-wf-P81-ibm81n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17858,12 +16519,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n02.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n02'(suite) -> []; 'ibm-not-wf-P81-ibm81n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17871,12 +16531,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n03.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n03'(suite) -> []; 'ibm-not-wf-P81-ibm81n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17884,12 +16543,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n04.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n04'(suite) -> []; 'ibm-not-wf-P81-ibm81n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17897,12 +16555,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n05.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n05'(suite) -> []; 'ibm-not-wf-P81-ibm81n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17910,12 +16567,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n06.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n06'(suite) -> []; 'ibm-not-wf-P81-ibm81n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17923,12 +16579,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n07.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n07'(suite) -> []; 'ibm-not-wf-P81-ibm81n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17936,12 +16591,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n08.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n08'(suite) -> []; 'ibm-not-wf-P81-ibm81n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17949,12 +16603,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P81-ibm81n09.xml %% Type: not-wf %% Sections: 4.3.3 -'ibm-not-wf-P81-ibm81n09'(suite) -> []; 'ibm-not-wf-P81-ibm81n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P81/ibm81n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -17967,12 +16620,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n01.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n01'(suite) -> []; 'ibm-not-wf-P82-ibm82n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17980,12 +16632,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n02.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n02'(suite) -> []; 'ibm-not-wf-P82-ibm82n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -17993,12 +16644,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n03.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n03'(suite) -> []; 'ibm-not-wf-P82-ibm82n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18006,12 +16656,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n04.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n04'(suite) -> []; 'ibm-not-wf-P82-ibm82n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18019,12 +16668,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n05.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n05'(suite) -> []; 'ibm-not-wf-P82-ibm82n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18032,12 +16680,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n06.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n06'(suite) -> []; 'ibm-not-wf-P82-ibm82n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18045,12 +16692,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n07.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n07'(suite) -> []; 'ibm-not-wf-P82-ibm82n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18058,12 +16704,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P82-ibm82n08.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P82-ibm82n08'(suite) -> []; 'ibm-not-wf-P82-ibm82n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P82/ibm82n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -18076,12 +16721,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n01.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n01'(suite) -> []; 'ibm-not-wf-P83-ibm83n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18089,12 +16733,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n02.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n02'(suite) -> []; 'ibm-not-wf-P83-ibm83n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18102,12 +16745,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n03.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n03'(suite) -> []; 'ibm-not-wf-P83-ibm83n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18115,12 +16757,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n04.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n04'(suite) -> []; 'ibm-not-wf-P83-ibm83n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18128,12 +16769,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n05.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n05'(suite) -> []; 'ibm-not-wf-P83-ibm83n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18141,12 +16781,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P83-ibm83n06.xml %% Type: not-wf %% Sections: 4.7 -'ibm-not-wf-P83-ibm83n06'(suite) -> []; 'ibm-not-wf-P83-ibm83n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P83/ibm83n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -18159,12 +16798,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n01.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n01'(suite) -> []; 'ibm-not-wf-P85-ibm85n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18172,12 +16810,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n02.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n02'(suite) -> []; 'ibm-not-wf-P85-ibm85n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18185,12 +16822,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n03.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n03'(suite) -> []; 'ibm-not-wf-P85-ibm85n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18198,12 +16834,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n04.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n04'(suite) -> []; 'ibm-not-wf-P85-ibm85n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18211,12 +16846,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n05.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n05'(suite) -> []; 'ibm-not-wf-P85-ibm85n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18224,12 +16858,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n06.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n06'(suite) -> []; 'ibm-not-wf-P85-ibm85n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18237,12 +16870,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n07.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n07'(suite) -> []; 'ibm-not-wf-P85-ibm85n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18250,12 +16882,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n08.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n08'(suite) -> []; 'ibm-not-wf-P85-ibm85n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18263,12 +16894,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n09.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n09'(suite) -> []; 'ibm-not-wf-P85-ibm85n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18276,12 +16906,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n10.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n10'(suite) -> []; 'ibm-not-wf-P85-ibm85n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18289,12 +16918,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n100.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n100'(suite) -> []; 'ibm-not-wf-P85-ibm85n100'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n100.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n100.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18302,12 +16930,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n101.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n101'(suite) -> []; 'ibm-not-wf-P85-ibm85n101'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n101.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n101.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18315,12 +16942,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n102.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n102'(suite) -> []; 'ibm-not-wf-P85-ibm85n102'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n102.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n102.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18328,12 +16954,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n103.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n103'(suite) -> []; 'ibm-not-wf-P85-ibm85n103'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n103.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n103.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18341,12 +16966,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n104.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n104'(suite) -> []; 'ibm-not-wf-P85-ibm85n104'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n104.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n104.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18354,12 +16978,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n105.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n105'(suite) -> []; 'ibm-not-wf-P85-ibm85n105'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n105.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n105.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18367,12 +16990,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n106.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n106'(suite) -> []; 'ibm-not-wf-P85-ibm85n106'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n106.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n106.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18380,12 +17002,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n107.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n107'(suite) -> []; 'ibm-not-wf-P85-ibm85n107'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n107.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n107.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18393,12 +17014,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n108.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n108'(suite) -> []; 'ibm-not-wf-P85-ibm85n108'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n108.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n108.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18406,12 +17026,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n109.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n109'(suite) -> []; 'ibm-not-wf-P85-ibm85n109'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n109.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n109.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18419,12 +17038,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n11.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n11'(suite) -> []; 'ibm-not-wf-P85-ibm85n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18432,12 +17050,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n110.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n110'(suite) -> []; 'ibm-not-wf-P85-ibm85n110'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n110.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n110.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18445,12 +17062,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n111.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n111'(suite) -> []; 'ibm-not-wf-P85-ibm85n111'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n111.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n111.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18458,12 +17074,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n112.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n112'(suite) -> []; 'ibm-not-wf-P85-ibm85n112'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n112.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n112.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18471,12 +17086,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n113.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n113'(suite) -> []; 'ibm-not-wf-P85-ibm85n113'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n113.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n113.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18484,12 +17098,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n114.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n114'(suite) -> []; 'ibm-not-wf-P85-ibm85n114'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n114.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n114.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18497,12 +17110,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n115.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n115'(suite) -> []; 'ibm-not-wf-P85-ibm85n115'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n115.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n115.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18510,12 +17122,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n116.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n116'(suite) -> []; 'ibm-not-wf-P85-ibm85n116'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n116.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n116.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18523,12 +17134,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n117.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n117'(suite) -> []; 'ibm-not-wf-P85-ibm85n117'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n117.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n117.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18536,12 +17146,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n118.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n118'(suite) -> []; 'ibm-not-wf-P85-ibm85n118'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n118.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n118.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18549,12 +17158,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n119.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n119'(suite) -> []; 'ibm-not-wf-P85-ibm85n119'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n119.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n119.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18562,12 +17170,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n12.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n12'(suite) -> []; 'ibm-not-wf-P85-ibm85n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18575,12 +17182,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n120.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n120'(suite) -> []; 'ibm-not-wf-P85-ibm85n120'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n120.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n120.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18588,12 +17194,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n121.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n121'(suite) -> []; 'ibm-not-wf-P85-ibm85n121'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n121.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n121.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18601,12 +17206,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n122.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n122'(suite) -> []; 'ibm-not-wf-P85-ibm85n122'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n122.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n122.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18614,12 +17218,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n123.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n123'(suite) -> []; 'ibm-not-wf-P85-ibm85n123'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n123.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n123.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18627,12 +17230,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n124.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n124'(suite) -> []; 'ibm-not-wf-P85-ibm85n124'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n124.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n124.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18640,12 +17242,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n125.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n125'(suite) -> []; 'ibm-not-wf-P85-ibm85n125'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n125.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n125.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18653,12 +17254,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n126.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n126'(suite) -> []; 'ibm-not-wf-P85-ibm85n126'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n126.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n126.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18666,12 +17266,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n127.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n127'(suite) -> []; 'ibm-not-wf-P85-ibm85n127'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n127.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n127.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18679,12 +17278,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n128.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n128'(suite) -> []; 'ibm-not-wf-P85-ibm85n128'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n128.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n128.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18692,12 +17290,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n129.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n129'(suite) -> []; 'ibm-not-wf-P85-ibm85n129'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n129.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n129.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18705,12 +17302,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n13.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n13'(suite) -> []; 'ibm-not-wf-P85-ibm85n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18718,12 +17314,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n130.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n130'(suite) -> []; 'ibm-not-wf-P85-ibm85n130'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n130.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n130.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18731,12 +17326,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n131.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n131'(suite) -> []; 'ibm-not-wf-P85-ibm85n131'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n131.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n131.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18744,12 +17338,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n132.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n132'(suite) -> []; 'ibm-not-wf-P85-ibm85n132'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n132.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n132.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18757,12 +17350,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n133.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n133'(suite) -> []; 'ibm-not-wf-P85-ibm85n133'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n133.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n133.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18770,12 +17362,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n134.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n134'(suite) -> []; 'ibm-not-wf-P85-ibm85n134'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n134.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n134.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18783,12 +17374,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n135.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n135'(suite) -> []; 'ibm-not-wf-P85-ibm85n135'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n135.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n135.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18796,12 +17386,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n136.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n136'(suite) -> []; 'ibm-not-wf-P85-ibm85n136'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n136.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n136.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18809,12 +17398,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n137.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n137'(suite) -> []; 'ibm-not-wf-P85-ibm85n137'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n137.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n137.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18822,12 +17410,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n138.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n138'(suite) -> []; 'ibm-not-wf-P85-ibm85n138'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n138.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n138.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18835,12 +17422,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n139.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n139'(suite) -> []; 'ibm-not-wf-P85-ibm85n139'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n139.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n139.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18848,12 +17434,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n14.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n14'(suite) -> []; 'ibm-not-wf-P85-ibm85n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18861,12 +17446,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n140.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n140'(suite) -> []; 'ibm-not-wf-P85-ibm85n140'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n140.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n140.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18874,12 +17458,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n141.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n141'(suite) -> []; 'ibm-not-wf-P85-ibm85n141'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n141.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n141.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18887,12 +17470,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n142.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n142'(suite) -> []; 'ibm-not-wf-P85-ibm85n142'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n142.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n142.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18900,12 +17482,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n143.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n143'(suite) -> []; 'ibm-not-wf-P85-ibm85n143'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n143.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n143.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18913,12 +17494,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n144.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n144'(suite) -> []; 'ibm-not-wf-P85-ibm85n144'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n144.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n144.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18926,12 +17506,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n145.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n145'(suite) -> []; 'ibm-not-wf-P85-ibm85n145'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n145.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n145.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18939,12 +17518,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n146.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n146'(suite) -> []; 'ibm-not-wf-P85-ibm85n146'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n146.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n146.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18952,12 +17530,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n147.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n147'(suite) -> []; 'ibm-not-wf-P85-ibm85n147'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n147.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n147.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18965,12 +17542,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n148.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n148'(suite) -> []; 'ibm-not-wf-P85-ibm85n148'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n148.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n148.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18978,12 +17554,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n149.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n149'(suite) -> []; 'ibm-not-wf-P85-ibm85n149'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n149.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n149.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -18991,12 +17566,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n15.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n15'(suite) -> []; 'ibm-not-wf-P85-ibm85n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19004,12 +17578,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n150.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n150'(suite) -> []; 'ibm-not-wf-P85-ibm85n150'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n150.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n150.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19017,12 +17590,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n151.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n151'(suite) -> []; 'ibm-not-wf-P85-ibm85n151'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n151.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n151.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19030,12 +17602,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n152.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n152'(suite) -> []; 'ibm-not-wf-P85-ibm85n152'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n152.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n152.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19043,12 +17614,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n153.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n153'(suite) -> []; 'ibm-not-wf-P85-ibm85n153'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n153.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n153.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19056,12 +17626,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n154.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n154'(suite) -> []; 'ibm-not-wf-P85-ibm85n154'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n154.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n154.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19069,12 +17638,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n155.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n155'(suite) -> []; 'ibm-not-wf-P85-ibm85n155'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n155.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n155.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19082,12 +17650,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n156.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n156'(suite) -> []; 'ibm-not-wf-P85-ibm85n156'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n156.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n156.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19095,12 +17662,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n157.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n157'(suite) -> []; 'ibm-not-wf-P85-ibm85n157'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n157.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n157.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19108,12 +17674,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n158.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n158'(suite) -> []; 'ibm-not-wf-P85-ibm85n158'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n158.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n158.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19121,12 +17686,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n159.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n159'(suite) -> []; 'ibm-not-wf-P85-ibm85n159'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n159.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n159.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19134,12 +17698,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n16.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n16'(suite) -> []; 'ibm-not-wf-P85-ibm85n16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19147,12 +17710,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n160.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n160'(suite) -> []; 'ibm-not-wf-P85-ibm85n160'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n160.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n160.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19160,12 +17722,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n161.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n161'(suite) -> []; 'ibm-not-wf-P85-ibm85n161'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n161.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n161.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19173,12 +17734,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n162.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n162'(suite) -> []; 'ibm-not-wf-P85-ibm85n162'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n162.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n162.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19186,12 +17746,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n163.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n163'(suite) -> []; 'ibm-not-wf-P85-ibm85n163'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n163.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n163.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19199,12 +17758,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n164.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n164'(suite) -> []; 'ibm-not-wf-P85-ibm85n164'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n164.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n164.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19212,12 +17770,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n165.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n165'(suite) -> []; 'ibm-not-wf-P85-ibm85n165'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n165.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n165.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19225,12 +17782,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n166.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n166'(suite) -> []; 'ibm-not-wf-P85-ibm85n166'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n166.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n166.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19238,12 +17794,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n167.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n167'(suite) -> []; 'ibm-not-wf-P85-ibm85n167'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n167.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n167.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19251,12 +17806,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n168.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n168'(suite) -> []; 'ibm-not-wf-P85-ibm85n168'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n168.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n168.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19264,12 +17818,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n169.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n169'(suite) -> []; 'ibm-not-wf-P85-ibm85n169'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n169.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n169.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19277,12 +17830,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n17.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n17'(suite) -> []; 'ibm-not-wf-P85-ibm85n17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19290,12 +17842,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n170.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n170'(suite) -> []; 'ibm-not-wf-P85-ibm85n170'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n170.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n170.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19303,12 +17854,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n171.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n171'(suite) -> []; 'ibm-not-wf-P85-ibm85n171'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n171.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n171.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19316,12 +17866,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n172.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n172'(suite) -> []; 'ibm-not-wf-P85-ibm85n172'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n172.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n172.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19329,12 +17878,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n173.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n173'(suite) -> []; 'ibm-not-wf-P85-ibm85n173'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n173.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n173.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19342,12 +17890,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n174.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n174'(suite) -> []; 'ibm-not-wf-P85-ibm85n174'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n174.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n174.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19355,12 +17902,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n175.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n175'(suite) -> []; 'ibm-not-wf-P85-ibm85n175'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n175.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n175.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19368,12 +17914,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n176.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n176'(suite) -> []; 'ibm-not-wf-P85-ibm85n176'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n176.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n176.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19381,12 +17926,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n177.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n177'(suite) -> []; 'ibm-not-wf-P85-ibm85n177'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n177.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n177.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19394,12 +17938,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n178.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n178'(suite) -> []; 'ibm-not-wf-P85-ibm85n178'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n178.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n178.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19407,12 +17950,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n179.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n179'(suite) -> []; 'ibm-not-wf-P85-ibm85n179'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n179.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n179.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19420,12 +17962,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n18.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n18'(suite) -> []; 'ibm-not-wf-P85-ibm85n18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19433,12 +17974,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n180.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n180'(suite) -> []; 'ibm-not-wf-P85-ibm85n180'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n180.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n180.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19446,12 +17986,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n181.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n181'(suite) -> []; 'ibm-not-wf-P85-ibm85n181'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n181.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n181.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19459,12 +17998,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n182.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n182'(suite) -> []; 'ibm-not-wf-P85-ibm85n182'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n182.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n182.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19472,12 +18010,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n183.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n183'(suite) -> []; 'ibm-not-wf-P85-ibm85n183'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n183.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n183.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19485,12 +18022,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n184.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n184'(suite) -> []; 'ibm-not-wf-P85-ibm85n184'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n184.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n184.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19498,12 +18034,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n185.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n185'(suite) -> []; 'ibm-not-wf-P85-ibm85n185'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n185.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n185.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19511,12 +18046,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n186.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n186'(suite) -> []; 'ibm-not-wf-P85-ibm85n186'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n186.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n186.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19524,12 +18058,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n187.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n187'(suite) -> []; 'ibm-not-wf-P85-ibm85n187'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n187.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n187.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19537,12 +18070,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n188.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n188'(suite) -> []; 'ibm-not-wf-P85-ibm85n188'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n188.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n188.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19550,12 +18082,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n189.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n189'(suite) -> []; 'ibm-not-wf-P85-ibm85n189'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n189.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n189.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19563,12 +18094,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n19.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n19'(suite) -> []; 'ibm-not-wf-P85-ibm85n19'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n19.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n19.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19576,12 +18106,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n190.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n190'(suite) -> []; 'ibm-not-wf-P85-ibm85n190'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n190.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n190.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19589,12 +18118,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n191.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n191'(suite) -> []; 'ibm-not-wf-P85-ibm85n191'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n191.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n191.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19602,12 +18130,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n192.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n192'(suite) -> []; 'ibm-not-wf-P85-ibm85n192'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n192.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n192.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19615,12 +18142,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n193.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n193'(suite) -> []; 'ibm-not-wf-P85-ibm85n193'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n193.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n193.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19628,12 +18154,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n194.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n194'(suite) -> []; 'ibm-not-wf-P85-ibm85n194'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n194.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n194.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19641,12 +18166,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n195.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n195'(suite) -> []; 'ibm-not-wf-P85-ibm85n195'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n195.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n195.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19654,12 +18178,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n196.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n196'(suite) -> []; 'ibm-not-wf-P85-ibm85n196'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n196.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n196.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19667,12 +18190,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n197.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n197'(suite) -> []; 'ibm-not-wf-P85-ibm85n197'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n197.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n197.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19680,12 +18202,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n198.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n198'(suite) -> []; 'ibm-not-wf-P85-ibm85n198'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n198.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n198.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19693,12 +18214,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n20.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n20'(suite) -> []; 'ibm-not-wf-P85-ibm85n20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19706,12 +18226,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n21.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n21'(suite) -> []; 'ibm-not-wf-P85-ibm85n21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19719,12 +18238,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n22.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n22'(suite) -> []; 'ibm-not-wf-P85-ibm85n22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19732,12 +18250,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n23.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n23'(suite) -> []; 'ibm-not-wf-P85-ibm85n23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19745,12 +18262,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n24.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n24'(suite) -> []; 'ibm-not-wf-P85-ibm85n24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19758,12 +18274,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n25.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n25'(suite) -> []; 'ibm-not-wf-P85-ibm85n25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19771,12 +18286,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n26.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n26'(suite) -> []; 'ibm-not-wf-P85-ibm85n26'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n26.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n26.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19784,12 +18298,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n27.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n27'(suite) -> []; 'ibm-not-wf-P85-ibm85n27'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n27.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n27.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19797,12 +18310,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n28.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n28'(suite) -> []; 'ibm-not-wf-P85-ibm85n28'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n28.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n28.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19810,12 +18322,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n29.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n29'(suite) -> []; 'ibm-not-wf-P85-ibm85n29'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n29.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n29.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19823,12 +18334,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n30.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n30'(suite) -> []; 'ibm-not-wf-P85-ibm85n30'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n30.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n30.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19836,12 +18346,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n31.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n31'(suite) -> []; 'ibm-not-wf-P85-ibm85n31'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n31.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n31.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19849,12 +18358,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n32.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n32'(suite) -> []; 'ibm-not-wf-P85-ibm85n32'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n32.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n32.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19862,12 +18370,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n33.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n33'(suite) -> []; 'ibm-not-wf-P85-ibm85n33'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n33.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n33.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19875,12 +18382,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n34.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n34'(suite) -> []; 'ibm-not-wf-P85-ibm85n34'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n34.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n34.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19888,12 +18394,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n35.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n35'(suite) -> []; 'ibm-not-wf-P85-ibm85n35'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n35.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n35.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19901,12 +18406,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n36.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n36'(suite) -> []; 'ibm-not-wf-P85-ibm85n36'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n36.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n36.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19914,12 +18418,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n37.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n37'(suite) -> []; 'ibm-not-wf-P85-ibm85n37'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n37.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n37.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19927,12 +18430,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n38.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n38'(suite) -> []; 'ibm-not-wf-P85-ibm85n38'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n38.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n38.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19940,12 +18442,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n39.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n39'(suite) -> []; 'ibm-not-wf-P85-ibm85n39'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n39.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n39.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19953,12 +18454,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n40.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n40'(suite) -> []; 'ibm-not-wf-P85-ibm85n40'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n40.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n40.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19966,12 +18466,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n41.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n41'(suite) -> []; 'ibm-not-wf-P85-ibm85n41'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n41.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n41.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19979,12 +18478,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n42.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n42'(suite) -> []; 'ibm-not-wf-P85-ibm85n42'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n42.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n42.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -19992,12 +18490,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n43.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n43'(suite) -> []; 'ibm-not-wf-P85-ibm85n43'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n43.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n43.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20005,12 +18502,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n44.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n44'(suite) -> []; 'ibm-not-wf-P85-ibm85n44'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n44.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n44.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20018,12 +18514,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n45.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n45'(suite) -> []; 'ibm-not-wf-P85-ibm85n45'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n45.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n45.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20031,12 +18526,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n46.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n46'(suite) -> []; 'ibm-not-wf-P85-ibm85n46'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n46.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n46.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20044,12 +18538,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n47.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n47'(suite) -> []; 'ibm-not-wf-P85-ibm85n47'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n47.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n47.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20057,12 +18550,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n48.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n48'(suite) -> []; 'ibm-not-wf-P85-ibm85n48'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n48.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n48.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20070,12 +18562,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n49.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n49'(suite) -> []; 'ibm-not-wf-P85-ibm85n49'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n49.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n49.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20083,12 +18574,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n50.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n50'(suite) -> []; 'ibm-not-wf-P85-ibm85n50'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n50.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n50.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20096,12 +18586,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n51.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n51'(suite) -> []; 'ibm-not-wf-P85-ibm85n51'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n51.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n51.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20109,12 +18598,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n52.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n52'(suite) -> []; 'ibm-not-wf-P85-ibm85n52'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n52.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n52.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20122,12 +18610,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n53.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n53'(suite) -> []; 'ibm-not-wf-P85-ibm85n53'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n53.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n53.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20135,12 +18622,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n54.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n54'(suite) -> []; 'ibm-not-wf-P85-ibm85n54'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n54.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n54.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20148,12 +18634,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n55.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n55'(suite) -> []; 'ibm-not-wf-P85-ibm85n55'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n55.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n55.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20161,12 +18646,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n56.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n56'(suite) -> []; 'ibm-not-wf-P85-ibm85n56'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n56.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n56.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20174,12 +18658,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n57.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n57'(suite) -> []; 'ibm-not-wf-P85-ibm85n57'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n57.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n57.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20187,12 +18670,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n58.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n58'(suite) -> []; 'ibm-not-wf-P85-ibm85n58'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n58.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n58.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20200,12 +18682,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n59.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n59'(suite) -> []; 'ibm-not-wf-P85-ibm85n59'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n59.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n59.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20213,12 +18694,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n60.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n60'(suite) -> []; 'ibm-not-wf-P85-ibm85n60'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n60.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n60.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20226,12 +18706,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n61.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n61'(suite) -> []; 'ibm-not-wf-P85-ibm85n61'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n61.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n61.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20239,12 +18718,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n62.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n62'(suite) -> []; 'ibm-not-wf-P85-ibm85n62'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n62.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n62.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20252,12 +18730,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n63.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n63'(suite) -> []; 'ibm-not-wf-P85-ibm85n63'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n63.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n63.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20265,12 +18742,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n64.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n64'(suite) -> []; 'ibm-not-wf-P85-ibm85n64'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n64.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n64.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20278,12 +18754,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n65.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n65'(suite) -> []; 'ibm-not-wf-P85-ibm85n65'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n65.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n65.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20291,12 +18766,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n66.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n66'(suite) -> []; 'ibm-not-wf-P85-ibm85n66'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n66.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n66.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20304,12 +18778,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n67.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n67'(suite) -> []; 'ibm-not-wf-P85-ibm85n67'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n67.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n67.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20317,12 +18790,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n68.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n68'(suite) -> []; 'ibm-not-wf-P85-ibm85n68'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n68.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n68.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20330,12 +18802,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n69.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n69'(suite) -> []; 'ibm-not-wf-P85-ibm85n69'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n69.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n69.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20343,12 +18814,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n70.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n70'(suite) -> []; 'ibm-not-wf-P85-ibm85n70'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n70.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n70.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20356,12 +18826,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n71.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n71'(suite) -> []; 'ibm-not-wf-P85-ibm85n71'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n71.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n71.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20369,12 +18838,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n72.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n72'(suite) -> []; 'ibm-not-wf-P85-ibm85n72'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n72.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n72.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20382,12 +18850,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n73.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n73'(suite) -> []; 'ibm-not-wf-P85-ibm85n73'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n73.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n73.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20395,12 +18862,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n74.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n74'(suite) -> []; 'ibm-not-wf-P85-ibm85n74'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n74.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n74.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20408,12 +18874,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n75.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n75'(suite) -> []; 'ibm-not-wf-P85-ibm85n75'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n75.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n75.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20421,12 +18886,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n76.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n76'(suite) -> []; 'ibm-not-wf-P85-ibm85n76'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n76.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n76.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20434,12 +18898,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n77.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n77'(suite) -> []; 'ibm-not-wf-P85-ibm85n77'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n77.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n77.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20447,12 +18910,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n78.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n78'(suite) -> []; 'ibm-not-wf-P85-ibm85n78'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n78.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n78.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20460,12 +18922,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n79.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n79'(suite) -> []; 'ibm-not-wf-P85-ibm85n79'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n79.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n79.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20473,12 +18934,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n80.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n80'(suite) -> []; 'ibm-not-wf-P85-ibm85n80'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n80.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n80.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20486,12 +18946,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n81.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n81'(suite) -> []; 'ibm-not-wf-P85-ibm85n81'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n81.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n81.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20499,12 +18958,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n82.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n82'(suite) -> []; 'ibm-not-wf-P85-ibm85n82'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n82.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n82.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20512,12 +18970,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n83.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n83'(suite) -> []; 'ibm-not-wf-P85-ibm85n83'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n83.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n83.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20525,12 +18982,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n84.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n84'(suite) -> []; 'ibm-not-wf-P85-ibm85n84'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n84.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n84.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20538,12 +18994,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n85.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n85'(suite) -> []; 'ibm-not-wf-P85-ibm85n85'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n85.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n85.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20551,12 +19006,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n86.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n86'(suite) -> []; 'ibm-not-wf-P85-ibm85n86'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n86.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n86.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20564,12 +19018,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n87.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n87'(suite) -> []; 'ibm-not-wf-P85-ibm85n87'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n87.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n87.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20577,12 +19030,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n88.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n88'(suite) -> []; 'ibm-not-wf-P85-ibm85n88'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n88.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n88.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20590,12 +19042,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n89.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n89'(suite) -> []; 'ibm-not-wf-P85-ibm85n89'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n89.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n89.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20603,12 +19054,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n90.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n90'(suite) -> []; 'ibm-not-wf-P85-ibm85n90'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n90.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n90.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20616,12 +19066,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n91.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n91'(suite) -> []; 'ibm-not-wf-P85-ibm85n91'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n91.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n91.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20629,12 +19078,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n92.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n92'(suite) -> []; 'ibm-not-wf-P85-ibm85n92'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n92.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n92.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20642,12 +19090,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n93.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n93'(suite) -> []; 'ibm-not-wf-P85-ibm85n93'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n93.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n93.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20655,12 +19102,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n94.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n94'(suite) -> []; 'ibm-not-wf-P85-ibm85n94'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n94.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n94.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20668,12 +19114,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n95.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n95'(suite) -> []; 'ibm-not-wf-P85-ibm85n95'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n95.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n95.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20681,12 +19126,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n96.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n96'(suite) -> []; 'ibm-not-wf-P85-ibm85n96'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n96.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n96.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20694,12 +19138,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n97.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n97'(suite) -> []; 'ibm-not-wf-P85-ibm85n97'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n97.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n97.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20707,12 +19150,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n98.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n98'(suite) -> []; 'ibm-not-wf-P85-ibm85n98'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n98.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n98.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20720,12 +19162,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P85-ibm85n99.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P85-ibm85n99'(suite) -> []; 'ibm-not-wf-P85-ibm85n99'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n99.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P85/ibm85n99.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -20738,12 +19179,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P86-ibm86n01.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P86-ibm86n01'(suite) -> []; 'ibm-not-wf-P86-ibm86n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20751,12 +19191,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P86-ibm86n02.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P86-ibm86n02'(suite) -> []; 'ibm-not-wf-P86-ibm86n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20764,12 +19203,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P86-ibm86n03.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P86-ibm86n03'(suite) -> []; 'ibm-not-wf-P86-ibm86n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20777,12 +19215,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P86-ibm86n04.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P86-ibm86n04'(suite) -> []; 'ibm-not-wf-P86-ibm86n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P86/ibm86n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -20795,12 +19232,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n01.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n01'(suite) -> []; 'ibm-not-wf-P87-ibm87n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20808,12 +19244,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n02.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n02'(suite) -> []; 'ibm-not-wf-P87-ibm87n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20821,12 +19256,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n03.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n03'(suite) -> []; 'ibm-not-wf-P87-ibm87n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20834,12 +19268,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n04.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n04'(suite) -> []; 'ibm-not-wf-P87-ibm87n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20847,12 +19280,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n05.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n05'(suite) -> []; 'ibm-not-wf-P87-ibm87n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20860,12 +19292,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n06.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n06'(suite) -> []; 'ibm-not-wf-P87-ibm87n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20873,12 +19304,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n07.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n07'(suite) -> []; 'ibm-not-wf-P87-ibm87n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20886,12 +19316,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n08.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n08'(suite) -> []; 'ibm-not-wf-P87-ibm87n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20899,12 +19328,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n09.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n09'(suite) -> []; 'ibm-not-wf-P87-ibm87n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20912,12 +19340,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n10.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n10'(suite) -> []; 'ibm-not-wf-P87-ibm87n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20925,12 +19352,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n11.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n11'(suite) -> []; 'ibm-not-wf-P87-ibm87n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20938,12 +19364,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n12.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n12'(suite) -> []; 'ibm-not-wf-P87-ibm87n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20951,12 +19376,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n13.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n13'(suite) -> []; 'ibm-not-wf-P87-ibm87n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20964,12 +19388,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n14.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n14'(suite) -> []; 'ibm-not-wf-P87-ibm87n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20977,12 +19400,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n15.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n15'(suite) -> []; 'ibm-not-wf-P87-ibm87n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -20990,12 +19412,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n16.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n16'(suite) -> []; 'ibm-not-wf-P87-ibm87n16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21003,12 +19424,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n17.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n17'(suite) -> []; 'ibm-not-wf-P87-ibm87n17'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n17.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n17.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21016,12 +19436,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n18.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n18'(suite) -> []; 'ibm-not-wf-P87-ibm87n18'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n18.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n18.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21029,12 +19448,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n19.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n19'(suite) -> []; 'ibm-not-wf-P87-ibm87n19'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n19.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n19.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21042,12 +19460,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n20.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n20'(suite) -> []; 'ibm-not-wf-P87-ibm87n20'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n20.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n20.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21055,12 +19472,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n21.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n21'(suite) -> []; 'ibm-not-wf-P87-ibm87n21'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n21.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n21.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21068,12 +19484,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n22.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n22'(suite) -> []; 'ibm-not-wf-P87-ibm87n22'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n22.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n22.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21081,12 +19496,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n23.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n23'(suite) -> []; 'ibm-not-wf-P87-ibm87n23'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n23.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n23.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21094,12 +19508,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n24.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n24'(suite) -> []; 'ibm-not-wf-P87-ibm87n24'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n24.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n24.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21107,12 +19520,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n25.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n25'(suite) -> []; 'ibm-not-wf-P87-ibm87n25'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n25.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n25.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21120,12 +19532,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n26.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n26'(suite) -> []; 'ibm-not-wf-P87-ibm87n26'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n26.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n26.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21133,12 +19544,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n27.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n27'(suite) -> []; 'ibm-not-wf-P87-ibm87n27'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n27.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n27.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21146,12 +19556,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n28.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n28'(suite) -> []; 'ibm-not-wf-P87-ibm87n28'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n28.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n28.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21159,12 +19568,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n29.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n29'(suite) -> []; 'ibm-not-wf-P87-ibm87n29'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n29.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n29.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21172,12 +19580,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n30.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n30'(suite) -> []; 'ibm-not-wf-P87-ibm87n30'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n30.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n30.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21185,12 +19592,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n31.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n31'(suite) -> []; 'ibm-not-wf-P87-ibm87n31'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n31.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n31.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21198,12 +19604,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n32.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n32'(suite) -> []; 'ibm-not-wf-P87-ibm87n32'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n32.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n32.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21211,12 +19616,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n33.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n33'(suite) -> []; 'ibm-not-wf-P87-ibm87n33'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n33.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n33.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21224,12 +19628,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n34.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n34'(suite) -> []; 'ibm-not-wf-P87-ibm87n34'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n34.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n34.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21237,12 +19640,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n35.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n35'(suite) -> []; 'ibm-not-wf-P87-ibm87n35'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n35.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n35.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21250,12 +19652,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n36.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n36'(suite) -> []; 'ibm-not-wf-P87-ibm87n36'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n36.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n36.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21263,12 +19664,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n37.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n37'(suite) -> []; 'ibm-not-wf-P87-ibm87n37'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n37.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n37.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21276,12 +19676,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n38.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n38'(suite) -> []; 'ibm-not-wf-P87-ibm87n38'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n38.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n38.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21289,12 +19688,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n39.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n39'(suite) -> []; 'ibm-not-wf-P87-ibm87n39'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n39.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n39.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21302,12 +19700,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n40.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n40'(suite) -> []; 'ibm-not-wf-P87-ibm87n40'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n40.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n40.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21315,12 +19712,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n41.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n41'(suite) -> []; 'ibm-not-wf-P87-ibm87n41'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n41.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n41.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21328,12 +19724,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n42.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n42'(suite) -> []; 'ibm-not-wf-P87-ibm87n42'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n42.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n42.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21341,12 +19736,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n43.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n43'(suite) -> []; 'ibm-not-wf-P87-ibm87n43'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n43.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n43.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21354,12 +19748,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n44.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n44'(suite) -> []; 'ibm-not-wf-P87-ibm87n44'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n44.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n44.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21367,12 +19760,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n45.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n45'(suite) -> []; 'ibm-not-wf-P87-ibm87n45'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n45.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n45.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21380,12 +19772,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n46.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n46'(suite) -> []; 'ibm-not-wf-P87-ibm87n46'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n46.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n46.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21393,12 +19784,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n47.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n47'(suite) -> []; 'ibm-not-wf-P87-ibm87n47'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n47.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n47.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21406,12 +19796,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n48.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n48'(suite) -> []; 'ibm-not-wf-P87-ibm87n48'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n48.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n48.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21419,12 +19808,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n49.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n49'(suite) -> []; 'ibm-not-wf-P87-ibm87n49'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n49.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n49.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21432,12 +19820,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n50.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n50'(suite) -> []; 'ibm-not-wf-P87-ibm87n50'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n50.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n50.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21445,12 +19832,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n51.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n51'(suite) -> []; 'ibm-not-wf-P87-ibm87n51'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n51.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n51.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21458,12 +19844,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n52.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n52'(suite) -> []; 'ibm-not-wf-P87-ibm87n52'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n52.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n52.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21471,12 +19856,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n53.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n53'(suite) -> []; 'ibm-not-wf-P87-ibm87n53'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n53.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n53.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21484,12 +19868,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n54.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n54'(suite) -> []; 'ibm-not-wf-P87-ibm87n54'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n54.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n54.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21497,12 +19880,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n55.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n55'(suite) -> []; 'ibm-not-wf-P87-ibm87n55'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n55.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n55.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21510,12 +19892,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n56.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n56'(suite) -> []; 'ibm-not-wf-P87-ibm87n56'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n56.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n56.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21523,12 +19904,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n57.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n57'(suite) -> []; 'ibm-not-wf-P87-ibm87n57'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n57.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n57.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21536,12 +19916,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n58.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n58'(suite) -> []; 'ibm-not-wf-P87-ibm87n58'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n58.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n58.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21549,12 +19928,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n59.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n59'(suite) -> []; 'ibm-not-wf-P87-ibm87n59'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n59.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n59.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21562,12 +19940,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n60.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n60'(suite) -> []; 'ibm-not-wf-P87-ibm87n60'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n60.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n60.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21575,12 +19952,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n61.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n61'(suite) -> []; 'ibm-not-wf-P87-ibm87n61'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n61.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n61.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21588,12 +19964,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n62.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n62'(suite) -> []; 'ibm-not-wf-P87-ibm87n62'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n62.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n62.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21601,12 +19976,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n63.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n63'(suite) -> []; 'ibm-not-wf-P87-ibm87n63'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n63.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n63.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21614,12 +19988,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n64.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n64'(suite) -> []; 'ibm-not-wf-P87-ibm87n64'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n64.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n64.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21627,12 +20000,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n66.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n66'(suite) -> []; 'ibm-not-wf-P87-ibm87n66'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n66.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n66.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21640,12 +20012,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n67.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n67'(suite) -> []; 'ibm-not-wf-P87-ibm87n67'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n67.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n67.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21653,12 +20024,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n68.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n68'(suite) -> []; 'ibm-not-wf-P87-ibm87n68'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n68.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n68.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21666,12 +20036,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n69.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n69'(suite) -> []; 'ibm-not-wf-P87-ibm87n69'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n69.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n69.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21679,12 +20048,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n70.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n70'(suite) -> []; 'ibm-not-wf-P87-ibm87n70'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n70.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n70.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21692,12 +20060,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n71.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n71'(suite) -> []; 'ibm-not-wf-P87-ibm87n71'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n71.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n71.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21705,12 +20072,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n72.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n72'(suite) -> []; 'ibm-not-wf-P87-ibm87n72'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n72.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n72.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21718,12 +20084,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n73.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n73'(suite) -> []; 'ibm-not-wf-P87-ibm87n73'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n73.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n73.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21731,12 +20096,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n74.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n74'(suite) -> []; 'ibm-not-wf-P87-ibm87n74'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n74.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n74.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21744,12 +20108,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n75.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n75'(suite) -> []; 'ibm-not-wf-P87-ibm87n75'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n75.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n75.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21757,12 +20120,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n76.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n76'(suite) -> []; 'ibm-not-wf-P87-ibm87n76'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n76.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n76.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21770,12 +20132,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n77.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n77'(suite) -> []; 'ibm-not-wf-P87-ibm87n77'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n77.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n77.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21783,12 +20144,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n78.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n78'(suite) -> []; 'ibm-not-wf-P87-ibm87n78'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n78.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n78.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21796,12 +20156,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n79.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n79'(suite) -> []; 'ibm-not-wf-P87-ibm87n79'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n79.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n79.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21809,12 +20168,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n80.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n80'(suite) -> []; 'ibm-not-wf-P87-ibm87n80'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n80.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n80.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21822,12 +20180,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n81.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n81'(suite) -> []; 'ibm-not-wf-P87-ibm87n81'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n81.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n81.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21835,12 +20192,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n82.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n82'(suite) -> []; 'ibm-not-wf-P87-ibm87n82'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n82.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n82.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21848,12 +20204,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n83.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n83'(suite) -> []; 'ibm-not-wf-P87-ibm87n83'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n83.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n83.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21861,12 +20216,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n84.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n84'(suite) -> []; 'ibm-not-wf-P87-ibm87n84'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n84.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n84.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21874,12 +20228,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P87-ibm87n85.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P87-ibm87n85'(suite) -> []; 'ibm-not-wf-P87-ibm87n85'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n85.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P87/ibm87n85.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -21892,12 +20245,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n01.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n01'(suite) -> []; 'ibm-not-wf-P88-ibm88n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21905,12 +20257,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n02.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n02'(suite) -> []; 'ibm-not-wf-P88-ibm88n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21918,12 +20269,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n03.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n03'(suite) -> []; 'ibm-not-wf-P88-ibm88n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21931,12 +20281,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n04.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n04'(suite) -> []; 'ibm-not-wf-P88-ibm88n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21944,12 +20293,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n05.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n05'(suite) -> []; 'ibm-not-wf-P88-ibm88n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21957,12 +20305,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n06.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n06'(suite) -> []; 'ibm-not-wf-P88-ibm88n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21970,12 +20317,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n08.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n08'(suite) -> []; 'ibm-not-wf-P88-ibm88n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21983,12 +20329,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n09.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n09'(suite) -> []; 'ibm-not-wf-P88-ibm88n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -21996,12 +20341,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n10.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n10'(suite) -> []; 'ibm-not-wf-P88-ibm88n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22009,12 +20353,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n11.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n11'(suite) -> []; 'ibm-not-wf-P88-ibm88n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22022,12 +20365,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n12.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n12'(suite) -> []; 'ibm-not-wf-P88-ibm88n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22035,12 +20377,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n13.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n13'(suite) -> []; 'ibm-not-wf-P88-ibm88n13'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n13.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n13.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22048,12 +20389,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n14.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n14'(suite) -> []; 'ibm-not-wf-P88-ibm88n14'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n14.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n14.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22061,12 +20401,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n15.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n15'(suite) -> []; 'ibm-not-wf-P88-ibm88n15'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n15.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n15.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22074,12 +20413,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P88-ibm88n16.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P88-ibm88n16'(suite) -> []; 'ibm-not-wf-P88-ibm88n16'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n16.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P88/ibm88n16.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -22092,12 +20430,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n01.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n01'(suite) -> []; 'ibm-not-wf-P89-ibm89n01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22105,12 +20442,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n02.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n02'(suite) -> []; 'ibm-not-wf-P89-ibm89n02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22118,12 +20454,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n03.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n03'(suite) -> []; 'ibm-not-wf-P89-ibm89n03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22131,12 +20466,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n04.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n04'(suite) -> []; 'ibm-not-wf-P89-ibm89n04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22144,12 +20478,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n05.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n05'(suite) -> []; 'ibm-not-wf-P89-ibm89n05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22157,12 +20490,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n06.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n06'(suite) -> []; 'ibm-not-wf-P89-ibm89n06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22170,12 +20502,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n07.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n07'(suite) -> []; 'ibm-not-wf-P89-ibm89n07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22183,12 +20514,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n08.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n08'(suite) -> []; 'ibm-not-wf-P89-ibm89n08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22196,12 +20526,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n09.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n09'(suite) -> []; 'ibm-not-wf-P89-ibm89n09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22209,12 +20538,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n10.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n10'(suite) -> []; 'ibm-not-wf-P89-ibm89n10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22222,12 +20550,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n11.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n11'(suite) -> []; 'ibm-not-wf-P89-ibm89n11'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n11.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n11.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Case @@ -22235,12 +20562,11 @@ testcases68(suite) -> []. %% ID: ibm-not-wf-P89-ibm89n12.xml %% Type: not-wf %% Sections: B. -'ibm-not-wf-P89-ibm89n12'(suite) -> []; 'ibm-not-wf-P89-ibm89n12'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n12.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "not-wf"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","not-wf/P89/ibm89n12.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "not-wf"). %%---------------------------------------------------------------------- %% Test Cases @@ -22258,12 +20584,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P01-ibm01v01.xml %% Type: valid %% Sections: 2.1 -'ibm-valid-P01-ibm01v01'(suite) -> []; 'ibm-valid-P01-ibm01v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P01/ibm01v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P01/ibm01v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22276,12 +20601,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P02-ibm02v01.xml %% Type: valid %% Sections: 2.2 -'ibm-valid-P02-ibm02v01'(suite) -> []; 'ibm-valid-P02-ibm02v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P02/ibm02v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P02/ibm02v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22294,12 +20618,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P03-ibm03v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P03-ibm03v01'(suite) -> []; 'ibm-valid-P03-ibm03v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P03/ibm03v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P03/ibm03v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22312,12 +20635,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P09-ibm09v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P09-ibm09v01'(suite) -> []; 'ibm-valid-P09-ibm09v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22325,12 +20647,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P09-ibm09v02.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P09-ibm09v02'(suite) -> []; 'ibm-valid-P09-ibm09v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22338,12 +20659,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P09-ibm09v03.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P09-ibm09v03'(suite) -> []; 'ibm-valid-P09-ibm09v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22351,12 +20671,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P09-ibm09v04.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P09-ibm09v04'(suite) -> []; 'ibm-valid-P09-ibm09v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22364,12 +20683,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P09-ibm09v05.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P09-ibm09v05'(suite) -> []; 'ibm-valid-P09-ibm09v05'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v05.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P09/ibm09v05.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22382,12 +20700,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v01'(suite) -> []; 'ibm-valid-P10-ibm10v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22395,12 +20712,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v02.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v02'(suite) -> []; 'ibm-valid-P10-ibm10v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22408,12 +20724,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v03.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v03'(suite) -> []; 'ibm-valid-P10-ibm10v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22421,12 +20736,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v04.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v04'(suite) -> []; 'ibm-valid-P10-ibm10v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22434,12 +20748,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v05.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v05'(suite) -> []; 'ibm-valid-P10-ibm10v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22447,12 +20760,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v06.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v06'(suite) -> []; 'ibm-valid-P10-ibm10v06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22460,12 +20772,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v07.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v07'(suite) -> []; 'ibm-valid-P10-ibm10v07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22473,12 +20784,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P10-ibm10v08.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P10-ibm10v08'(suite) -> []; 'ibm-valid-P10-ibm10v08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P10/ibm10v08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22491,12 +20801,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P11-ibm11v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P11-ibm11v01'(suite) -> []; 'ibm-valid-P11-ibm11v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22504,12 +20813,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P11-ibm11v02.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P11-ibm11v02'(suite) -> []; 'ibm-valid-P11-ibm11v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22517,12 +20825,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P11-ibm11v03.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P11-ibm11v03'(suite) -> []; 'ibm-valid-P11-ibm11v03'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v03.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v03.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22530,12 +20837,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P11-ibm11v04.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P11-ibm11v04'(suite) -> []; 'ibm-valid-P11-ibm11v04'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v04.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P11/ibm11v04.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22548,12 +20854,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P12-ibm12v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P12-ibm12v01'(suite) -> []; 'ibm-valid-P12-ibm12v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22561,12 +20866,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P12-ibm12v02.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P12-ibm12v02'(suite) -> []; 'ibm-valid-P12-ibm12v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22574,12 +20878,11 @@ testcases68(suite) -> []. %% ID: ibm-valid-P12-ibm12v03.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P12-ibm12v03'(suite) -> []; 'ibm-valid-P12-ibm12v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22587,18 +20890,16 @@ testcases68(suite) -> []. %% ID: ibm-valid-P12-ibm12v04.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P12-ibm12v04'(suite) -> []; 'ibm-valid-P12-ibm12v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P12/ibm12v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 12 -testcases111(suite) -> []. %% ['ibm-valid-P12-ibm12v01','ibm-valid-P12-ibm12v02','ibm-valid-P12-ibm12v03','ibm-valid-P12-ibm12v04']. %%---------------------------------------------------------------------- @@ -22607,18 +20908,16 @@ testcases111(suite) -> []. %% ID: ibm-valid-P13-ibm13v01.xml %% Type: valid %% Sections: 2.3 -'ibm-valid-P13-ibm13v01'(suite) -> []; 'ibm-valid-P13-ibm13v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P13/ibm13v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P13/ibm13v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 13 -testcases112(suite) -> []. %% ['ibm-valid-P13-ibm13v01']. %%---------------------------------------------------------------------- @@ -22627,12 +20926,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P14-ibm14v01.xml %% Type: valid %% Sections: 2.4 -'ibm-valid-P14-ibm14v01'(suite) -> []; 'ibm-valid-P14-ibm14v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22640,12 +20938,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P14-ibm14v02.xml %% Type: valid %% Sections: 2.4 -'ibm-valid-P14-ibm14v02'(suite) -> []; 'ibm-valid-P14-ibm14v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22653,12 +20950,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P14-ibm14v03.xml %% Type: valid %% Sections: 2.4 -'ibm-valid-P14-ibm14v03'(suite) -> []; 'ibm-valid-P14-ibm14v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P14/ibm14v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22671,12 +20967,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P15-ibm15v01.xml %% Type: valid %% Sections: 2.5 -'ibm-valid-P15-ibm15v01'(suite) -> []; 'ibm-valid-P15-ibm15v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22684,12 +20979,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P15-ibm15v02.xml %% Type: valid %% Sections: 2.5 -'ibm-valid-P15-ibm15v02'(suite) -> []; 'ibm-valid-P15-ibm15v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22697,12 +20991,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P15-ibm15v03.xml %% Type: valid %% Sections: 2.5 -'ibm-valid-P15-ibm15v03'(suite) -> []; 'ibm-valid-P15-ibm15v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22710,12 +21003,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P15-ibm15v04.xml %% Type: valid %% Sections: 2.5 -'ibm-valid-P15-ibm15v04'(suite) -> []; 'ibm-valid-P15-ibm15v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P15/ibm15v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22728,12 +21020,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P16-ibm16v01.xml %% Type: valid %% Sections: 2.6 -'ibm-valid-P16-ibm16v01'(suite) -> []; 'ibm-valid-P16-ibm16v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22741,12 +21032,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P16-ibm16v02.xml %% Type: valid %% Sections: 2.6 -'ibm-valid-P16-ibm16v02'(suite) -> []; 'ibm-valid-P16-ibm16v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22754,12 +21044,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P16-ibm16v03.xml %% Type: valid %% Sections: 2.6 -'ibm-valid-P16-ibm16v03'(suite) -> []; 'ibm-valid-P16-ibm16v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P16/ibm16v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22772,12 +21061,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P17-ibm17v01.xml %% Type: valid %% Sections: 2.6 -'ibm-valid-P17-ibm17v01'(suite) -> []; 'ibm-valid-P17-ibm17v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P17/ibm17v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P17/ibm17v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22790,12 +21078,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P18-ibm18v01.xml %% Type: valid %% Sections: 2.7 -'ibm-valid-P18-ibm18v01'(suite) -> []; 'ibm-valid-P18-ibm18v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P18/ibm18v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P18/ibm18v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22808,12 +21095,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P19-ibm19v01.xml %% Type: valid %% Sections: 2.7 -'ibm-valid-P19-ibm19v01'(suite) -> []; 'ibm-valid-P19-ibm19v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P19/ibm19v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P19/ibm19v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22826,12 +21112,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P20-ibm20v01.xml %% Type: valid %% Sections: 2.7 -'ibm-valid-P20-ibm20v01'(suite) -> []; 'ibm-valid-P20-ibm20v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P20/ibm20v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P20/ibm20v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22839,12 +21124,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P20-ibm20v02.xml %% Type: valid %% Sections: 2.7 -'ibm-valid-P20-ibm20v02'(suite) -> []; 'ibm-valid-P20-ibm20v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P20/ibm20v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P20/ibm20v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22857,12 +21141,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P21-ibm21v01.xml %% Type: valid %% Sections: 2.7 -'ibm-valid-P21-ibm21v01'(suite) -> []; 'ibm-valid-P21-ibm21v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P21/ibm21v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P21/ibm21v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22875,12 +21158,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v01'(suite) -> []; 'ibm-valid-P22-ibm22v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22888,12 +21170,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v02'(suite) -> []; 'ibm-valid-P22-ibm22v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22901,12 +21182,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v03.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v03'(suite) -> []; 'ibm-valid-P22-ibm22v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22914,12 +21194,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v04.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v04'(suite) -> []; 'ibm-valid-P22-ibm22v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22927,12 +21206,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v05.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v05'(suite) -> []; 'ibm-valid-P22-ibm22v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22940,12 +21218,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v06.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v06'(suite) -> []; 'ibm-valid-P22-ibm22v06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22953,12 +21230,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P22-ibm22v07.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P22-ibm22v07'(suite) -> []; 'ibm-valid-P22-ibm22v07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P22/ibm22v07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -22971,12 +21247,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v01'(suite) -> []; 'ibm-valid-P23-ibm23v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22984,12 +21259,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v02'(suite) -> []; 'ibm-valid-P23-ibm23v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -22997,12 +21271,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v03.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v03'(suite) -> []; 'ibm-valid-P23-ibm23v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23010,12 +21283,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v04.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v04'(suite) -> []; 'ibm-valid-P23-ibm23v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23023,12 +21295,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v05.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v05'(suite) -> []; 'ibm-valid-P23-ibm23v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23036,12 +21307,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P23-ibm23v06.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P23-ibm23v06'(suite) -> []; 'ibm-valid-P23-ibm23v06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P23/ibm23v06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23054,12 +21324,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P24-ibm24v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P24-ibm24v01'(suite) -> []; 'ibm-valid-P24-ibm24v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P24/ibm24v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P24/ibm24v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23067,12 +21336,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P24-ibm24v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P24-ibm24v02'(suite) -> []; 'ibm-valid-P24-ibm24v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P24/ibm24v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P24/ibm24v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23085,12 +21353,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P25-ibm25v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P25-ibm25v01'(suite) -> []; 'ibm-valid-P25-ibm25v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23098,12 +21365,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P25-ibm25v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P25-ibm25v02'(suite) -> []; 'ibm-valid-P25-ibm25v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23111,12 +21377,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P25-ibm25v03.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P25-ibm25v03'(suite) -> []; 'ibm-valid-P25-ibm25v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23124,12 +21389,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P25-ibm25v04.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P25-ibm25v04'(suite) -> []; 'ibm-valid-P25-ibm25v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P25/ibm25v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23142,12 +21406,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P26-ibm26v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P26-ibm26v01'(suite) -> []; 'ibm-valid-P26-ibm26v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P26/ibm26v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P26/ibm26v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23160,12 +21423,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P27-ibm27v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P27-ibm27v01'(suite) -> []; 'ibm-valid-P27-ibm27v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23173,12 +21435,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P27-ibm27v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P27-ibm27v02'(suite) -> []; 'ibm-valid-P27-ibm27v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23186,12 +21447,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P27-ibm27v03.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P27-ibm27v03'(suite) -> []; 'ibm-valid-P27-ibm27v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P27/ibm27v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23204,12 +21464,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P28-ibm28v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P28-ibm28v01'(suite) -> []; 'ibm-valid-P28-ibm28v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P28/ibm28v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P28/ibm28v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23217,12 +21476,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P28-ibm28v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P28-ibm28v02'(suite) -> []; 'ibm-valid-P28-ibm28v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P28/ibm28v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P28/ibm28v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23235,12 +21493,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P29-ibm29v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P29-ibm29v01'(suite) -> []; 'ibm-valid-P29-ibm29v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P29/ibm29v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P29/ibm29v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23248,12 +21505,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P29-ibm29v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P29-ibm29v02'(suite) -> []; 'ibm-valid-P29-ibm29v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P29/ibm29v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P29/ibm29v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23266,12 +21522,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P30-ibm30v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P30-ibm30v01'(suite) -> []; 'ibm-valid-P30-ibm30v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P30/ibm30v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P30/ibm30v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23279,12 +21534,11 @@ testcases112(suite) -> []. %% ID: ibm-valid-P30-ibm30v02.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P30-ibm30v02'(suite) -> []; 'ibm-valid-P30-ibm30v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P30/ibm30v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P30/ibm30v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23297,18 +21551,16 @@ testcases112(suite) -> []. %% ID: ibm-valid-P31-ibm31v01.xml %% Type: valid %% Sections: 2.8 -'ibm-valid-P31-ibm31v01'(suite) -> []; 'ibm-valid-P31-ibm31v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P31/ibm31v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P31/ibm31v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 31 -testcases130(suite) -> []. %% ['ibm-valid-P31-ibm31v01']. %%---------------------------------------------------------------------- @@ -23317,12 +21569,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P32-ibm32v01.xml %% Type: valid %% Sections: 2.9 -'ibm-valid-P32-ibm32v01'(suite) -> []; 'ibm-valid-P32-ibm32v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23330,12 +21581,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P32-ibm32v02.xml %% Type: valid %% Sections: 2.9 -'ibm-valid-P32-ibm32v02'(suite) -> []; 'ibm-valid-P32-ibm32v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23343,12 +21593,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P32-ibm32v03.xml %% Type: valid %% Sections: 2.9 -'ibm-valid-P32-ibm32v03'(suite) -> []; 'ibm-valid-P32-ibm32v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23356,12 +21605,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P32-ibm32v04.xml %% Type: valid %% Sections: 2.9 -'ibm-valid-P32-ibm32v04'(suite) -> []; 'ibm-valid-P32-ibm32v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P32/ibm32v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23374,12 +21622,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P33-ibm33v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P33-ibm33v01'(suite) -> []; 'ibm-valid-P33-ibm33v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P33/ibm33v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P33/ibm33v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23392,12 +21639,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P34-ibm34v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P34-ibm34v01'(suite) -> []; 'ibm-valid-P34-ibm34v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P34/ibm34v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P34/ibm34v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23410,12 +21656,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P35-ibm35v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P35-ibm35v01'(suite) -> []; 'ibm-valid-P35-ibm35v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P35/ibm35v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P35/ibm35v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23428,12 +21673,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P36-ibm36v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P36-ibm36v01'(suite) -> []; 'ibm-valid-P36-ibm36v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P36/ibm36v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P36/ibm36v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23446,12 +21690,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P37-ibm37v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P37-ibm37v01'(suite) -> []; 'ibm-valid-P37-ibm37v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P37/ibm37v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P37/ibm37v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23464,12 +21707,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P38-ibm38v01.xml %% Type: valid %% Sections: 2.12 -'ibm-valid-P38-ibm38v01'(suite) -> []; 'ibm-valid-P38-ibm38v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P38/ibm38v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P38/ibm38v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23482,12 +21724,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P39-ibm39v01.xml %% Type: valid %% Sections: 3 -'ibm-valid-P39-ibm39v01'(suite) -> []; 'ibm-valid-P39-ibm39v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P39/ibm39v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P39/ibm39v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23500,12 +21741,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P40-ibm40v01.xml %% Type: valid %% Sections: 3.1 -'ibm-valid-P40-ibm40v01'(suite) -> []; 'ibm-valid-P40-ibm40v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P40/ibm40v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P40/ibm40v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23518,12 +21758,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P41-ibm41v01.xml %% Type: valid %% Sections: 3.1 -'ibm-valid-P41-ibm41v01'(suite) -> []; 'ibm-valid-P41-ibm41v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P41/ibm41v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P41/ibm41v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23536,12 +21775,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P42-ibm42v01.xml %% Type: valid %% Sections: 3.1 -'ibm-valid-P42-ibm42v01'(suite) -> []; 'ibm-valid-P42-ibm42v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P42/ibm42v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P42/ibm42v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23554,12 +21792,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P43-ibm43v01.xml %% Type: valid %% Sections: 3.1 -'ibm-valid-P43-ibm43v01'(suite) -> []; 'ibm-valid-P43-ibm43v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P43/ibm43v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P43/ibm43v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23572,12 +21809,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P44-ibm44v01.xml %% Type: valid %% Sections: 3.1 -'ibm-valid-P44-ibm44v01'(suite) -> []; 'ibm-valid-P44-ibm44v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P44/ibm44v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P44/ibm44v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23590,12 +21826,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P45-ibm45v01.xml %% Type: valid %% Sections: 3.2 -'ibm-valid-P45-ibm45v01'(suite) -> []; 'ibm-valid-P45-ibm45v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P45/ibm45v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P45/ibm45v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23608,12 +21843,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P47-ibm47v01.xml %% Type: valid %% Sections: 3.2.1 -'ibm-valid-P47-ibm47v01'(suite) -> []; 'ibm-valid-P47-ibm47v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P47/ibm47v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P47/ibm47v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23626,12 +21860,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P49-ibm49v01.xml %% Type: valid %% Sections: 3.2.1 -'ibm-valid-P49-ibm49v01'(suite) -> []; 'ibm-valid-P49-ibm49v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P49/ibm49v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P49/ibm49v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23644,12 +21877,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P50-ibm50v01.xml %% Type: valid %% Sections: 3.2.1 -'ibm-valid-P50-ibm50v01'(suite) -> []; 'ibm-valid-P50-ibm50v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P50/ibm50v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P50/ibm50v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23662,12 +21894,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P51-ibm51v01.xml %% Type: valid %% Sections: 3.2.2 -'ibm-valid-P51-ibm51v01'(suite) -> []; 'ibm-valid-P51-ibm51v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P51/ibm51v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P51/ibm51v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23675,12 +21906,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P51-ibm51v02.xml %% Type: valid %% Sections: 3.2.2 -'ibm-valid-P51-ibm51v02'(suite) -> []; 'ibm-valid-P51-ibm51v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P51/ibm51v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P51/ibm51v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23693,12 +21923,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P52-ibm52v01.xml %% Type: valid %% Sections: 3.3 -'ibm-valid-P52-ibm52v01'(suite) -> []; 'ibm-valid-P52-ibm52v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P52/ibm52v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P52/ibm52v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23711,12 +21940,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P54-ibm54v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P54-ibm54v01'(suite) -> []; 'ibm-valid-P54-ibm54v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23724,12 +21952,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P54-ibm54v02.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P54-ibm54v02'(suite) -> []; 'ibm-valid-P54-ibm54v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23737,12 +21964,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P54-ibm54v03.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P54-ibm54v03'(suite) -> []; 'ibm-valid-P54-ibm54v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P54/ibm54v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23755,12 +21981,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P55-ibm55v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P55-ibm55v01'(suite) -> []; 'ibm-valid-P55-ibm55v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P55/ibm55v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P55/ibm55v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23773,12 +21998,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v01'(suite) -> []; 'ibm-valid-P56-ibm56v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23786,12 +22010,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v02.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v02'(suite) -> []; 'ibm-valid-P56-ibm56v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23799,12 +22022,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v03.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v03'(suite) -> []; 'ibm-valid-P56-ibm56v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23812,12 +22034,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v04.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v04'(suite) -> []; 'ibm-valid-P56-ibm56v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23825,12 +22046,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v05.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v05'(suite) -> []; 'ibm-valid-P56-ibm56v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23838,12 +22058,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v06.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v06'(suite) -> []; 'ibm-valid-P56-ibm56v06'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v06.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v06.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23851,12 +22070,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v07.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v07'(suite) -> []; 'ibm-valid-P56-ibm56v07'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v07.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v07.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23864,12 +22082,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v08.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v08'(suite) -> []; 'ibm-valid-P56-ibm56v08'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v08.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v08.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23877,12 +22094,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v09.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v09'(suite) -> []; 'ibm-valid-P56-ibm56v09'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v09.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v09.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23890,12 +22106,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P56-ibm56v10.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P56-ibm56v10'(suite) -> []; 'ibm-valid-P56-ibm56v10'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v10.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P56/ibm56v10.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23908,12 +22123,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P57-ibm57v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P57-ibm57v01'(suite) -> []; 'ibm-valid-P57-ibm57v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P57/ibm57v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P57/ibm57v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23926,12 +22140,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P58-ibm58v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P58-ibm58v01'(suite) -> []; 'ibm-valid-P58-ibm58v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P58/ibm58v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P58/ibm58v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23939,12 +22152,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P58-ibm58v02.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P58-ibm58v02'(suite) -> []; 'ibm-valid-P58-ibm58v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P58/ibm58v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P58/ibm58v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23957,12 +22169,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P59-ibm59v01.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P59-ibm59v01'(suite) -> []; 'ibm-valid-P59-ibm59v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P59/ibm59v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P59/ibm59v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -23970,12 +22181,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P59-ibm59v02.xml %% Type: valid %% Sections: 3.3.1 -'ibm-valid-P59-ibm59v02'(suite) -> []; 'ibm-valid-P59-ibm59v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P59/ibm59v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P59/ibm59v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -23988,12 +22198,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P60-ibm60v01.xml %% Type: valid %% Sections: 3.3.2 -'ibm-valid-P60-ibm60v01'(suite) -> []; 'ibm-valid-P60-ibm60v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24001,12 +22210,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P60-ibm60v02.xml %% Type: valid %% Sections: 3.3.2 -'ibm-valid-P60-ibm60v02'(suite) -> []; 'ibm-valid-P60-ibm60v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24014,12 +22222,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P60-ibm60v03.xml %% Type: valid %% Sections: 3.3.2 -'ibm-valid-P60-ibm60v03'(suite) -> []; 'ibm-valid-P60-ibm60v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24027,12 +22234,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P60-ibm60v04.xml %% Type: valid %% Sections: 3.3.2 -'ibm-valid-P60-ibm60v04'(suite) -> []; 'ibm-valid-P60-ibm60v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P60/ibm60v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24045,12 +22251,11 @@ testcases130(suite) -> []. %% ID: ibm-valid-P61-ibm61v01.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P61-ibm61v01'(suite) -> []; 'ibm-valid-P61-ibm61v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P61/ibm61v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P61/ibm61v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24058,18 +22263,16 @@ testcases130(suite) -> []. %% ID: ibm-valid-P61-ibm61v02.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P61-ibm61v02'(suite) -> []; 'ibm-valid-P61-ibm61v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P61/ibm61v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P61/ibm61v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 61 -testcases157(suite) -> []. %% ['ibm-valid-P61-ibm61v01','ibm-valid-P61-ibm61v02']. %%---------------------------------------------------------------------- @@ -24078,12 +22281,11 @@ testcases157(suite) -> []. %% ID: ibm-valid-P62-ibm62v01.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P62-ibm62v01'(suite) -> []; 'ibm-valid-P62-ibm62v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24091,12 +22293,11 @@ testcases157(suite) -> []. %% ID: ibm-valid-P62-ibm62v02.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P62-ibm62v02'(suite) -> []; 'ibm-valid-P62-ibm62v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24104,12 +22305,11 @@ testcases157(suite) -> []. %% ID: ibm-valid-P62-ibm62v03.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P62-ibm62v03'(suite) -> []; 'ibm-valid-P62-ibm62v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24117,12 +22317,11 @@ testcases157(suite) -> []. %% ID: ibm-valid-P62-ibm62v04.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P62-ibm62v04'(suite) -> []; 'ibm-valid-P62-ibm62v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24130,18 +22329,16 @@ testcases157(suite) -> []. %% ID: ibm-valid-P62-ibm62v05.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P62-ibm62v05'(suite) -> []; 'ibm-valid-P62-ibm62v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P62/ibm62v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 62 -testcases158(suite) -> []. %% ['ibm-valid-P62-ibm62v01','ibm-valid-P62-ibm62v02','ibm-valid-P62-ibm62v03','ibm-valid-P62-ibm62v04','ibm-valid-P62-ibm62v05']. %%---------------------------------------------------------------------- @@ -24150,12 +22347,11 @@ testcases158(suite) -> []. %% ID: ibm-valid-P63-ibm63v01.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P63-ibm63v01'(suite) -> []; 'ibm-valid-P63-ibm63v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24163,12 +22359,11 @@ testcases158(suite) -> []. %% ID: ibm-valid-P63-ibm63v02.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P63-ibm63v02'(suite) -> []; 'ibm-valid-P63-ibm63v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24176,12 +22371,11 @@ testcases158(suite) -> []. %% ID: ibm-valid-P63-ibm63v03.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P63-ibm63v03'(suite) -> []; 'ibm-valid-P63-ibm63v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24189,12 +22383,11 @@ testcases158(suite) -> []. %% ID: ibm-valid-P63-ibm63v04.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P63-ibm63v04'(suite) -> []; 'ibm-valid-P63-ibm63v04'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v04.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v04.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24202,18 +22395,16 @@ testcases158(suite) -> []. %% ID: ibm-valid-P63-ibm63v05.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P63-ibm63v05'(suite) -> []; 'ibm-valid-P63-ibm63v05'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v05.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P63/ibm63v05.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 63 -testcases159(suite) -> []. %% ['ibm-valid-P63-ibm63v01','ibm-valid-P63-ibm63v02','ibm-valid-P63-ibm63v03','ibm-valid-P63-ibm63v04','ibm-valid-P63-ibm63v05']. %%---------------------------------------------------------------------- @@ -24222,12 +22413,11 @@ testcases159(suite) -> []. %% ID: ibm-valid-P64-ibm64v01.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P64-ibm64v01'(suite) -> []; 'ibm-valid-P64-ibm64v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24235,12 +22425,11 @@ testcases159(suite) -> []. %% ID: ibm-valid-P64-ibm64v02.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P64-ibm64v02'(suite) -> []; 'ibm-valid-P64-ibm64v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24248,18 +22437,16 @@ testcases159(suite) -> []. %% ID: ibm-valid-P64-ibm64v03.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P64-ibm64v03'(suite) -> []; 'ibm-valid-P64-ibm64v03'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v03.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P64/ibm64v03.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 64 -testcases160(suite) -> []. %% ['ibm-valid-P64-ibm64v01','ibm-valid-P64-ibm64v02','ibm-valid-P64-ibm64v03']. %%---------------------------------------------------------------------- @@ -24268,12 +22455,11 @@ testcases160(suite) -> []. %% ID: ibm-valid-P65-ibm65v01.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P65-ibm65v01'(suite) -> []; 'ibm-valid-P65-ibm65v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P65/ibm65v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P65/ibm65v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24281,18 +22467,16 @@ testcases160(suite) -> []. %% ID: ibm-valid-P65-ibm65v02.xml %% Type: valid %% Sections: 3.4 -'ibm-valid-P65-ibm65v02'(suite) -> []; 'ibm-valid-P65-ibm65v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P65/ibm65v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P65/ibm65v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 65 -testcases161(suite) -> []. %% ['ibm-valid-P65-ibm65v01','ibm-valid-P65-ibm65v02']. %%---------------------------------------------------------------------- @@ -24301,12 +22485,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P66-ibm66v01.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P66-ibm66v01'(suite) -> []; 'ibm-valid-P66-ibm66v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P66/ibm66v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P66/ibm66v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24319,12 +22502,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P67-ibm67v01.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P67-ibm67v01'(suite) -> []; 'ibm-valid-P67-ibm67v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P67/ibm67v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P67/ibm67v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24337,12 +22519,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P68-ibm68v01.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P68-ibm68v01'(suite) -> []; 'ibm-valid-P68-ibm68v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P68/ibm68v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P68/ibm68v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24350,12 +22531,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P68-ibm68v02.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P68-ibm68v02'(suite) -> []; 'ibm-valid-P68-ibm68v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P68/ibm68v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P68/ibm68v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24368,12 +22548,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P69-ibm69v01.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P69-ibm69v01'(suite) -> []; 'ibm-valid-P69-ibm69v01'(_Config) -> {skip, "NYI"}. -%% ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), -%% ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P69/ibm69v01.xml"]), -%% ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), -%% ?line check_result(R, "valid"). +%% file:set_cwd(xmerl_test_lib:get_data_dir(Config)), +%% Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P69/ibm69v01.xml"]), +%% R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), +%% check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Case @@ -24381,12 +22560,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P69-ibm69v02.xml %% Type: valid %% Sections: 4.1 -'ibm-valid-P69-ibm69v02'(suite) -> []; 'ibm-valid-P69-ibm69v02'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P69/ibm69v02.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P69/ibm69v02.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24399,12 +22577,11 @@ testcases161(suite) -> []. %% ID: ibm-valid-P70-ibm70v01.xml %% Type: valid %% Sections: 4.2 -'ibm-valid-P70-ibm70v01'(suite) -> []; 'ibm-valid-P70-ibm70v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P70/ibm70v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P70/ibm70v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24417,18 +22594,16 @@ testcases161(suite) -> []. %% ID: ibm-valid-P78-ibm78v01.xml %% Type: valid %% Sections: 4.3.2 -'ibm-valid-P78-ibm78v01'(suite) -> []; 'ibm-valid-P78-ibm78v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P78/ibm78v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P78/ibm78v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 78 -testcases167(suite) -> []. %% ['ibm-valid-P78-ibm78v01']. %%---------------------------------------------------------------------- @@ -24437,12 +22612,11 @@ testcases167(suite) -> []. %% ID: ibm-valid-P79-ibm79v01.xml %% Type: valid %% Sections: 4.3.2 -'ibm-valid-P79-ibm79v01'(suite) -> []; 'ibm-valid-P79-ibm79v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P79/ibm79v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P79/ibm79v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24455,12 +22629,11 @@ testcases167(suite) -> []. %% ID: ibm-valid-P82-ibm82v01.xml %% Type: valid %% Sections: 4.7 -'ibm-valid-P82-ibm82v01'(suite) -> []; 'ibm-valid-P82-ibm82v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P82/ibm82v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P82/ibm82v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24473,18 +22646,16 @@ testcases167(suite) -> []. %% ID: ibm-valid-P85-ibm85v01.xml %% Type: valid %% Sections: B. -'ibm-valid-P85-ibm85v01'(suite) -> []; 'ibm-valid-P85-ibm85v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P85/ibm85v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P85/ibm85v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases %% Profile: IBM XML Conformance Test Suite - Production 85 -testcases170(suite) -> []. %% ['ibm-valid-P85-ibm85v01']. %%---------------------------------------------------------------------- @@ -24493,12 +22664,11 @@ testcases170(suite) -> []. %% ID: ibm-valid-P86-ibm86v01.xml %% Type: valid %% Sections: B. -'ibm-valid-P86-ibm86v01'(suite) -> []; 'ibm-valid-P86-ibm86v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P86/ibm86v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P86/ibm86v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24511,12 +22681,11 @@ testcases170(suite) -> []. %% ID: ibm-valid-P87-ibm87v01.xml %% Type: valid %% Sections: B. -'ibm-valid-P87-ibm87v01'(suite) -> []; 'ibm-valid-P87-ibm87v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P87/ibm87v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P87/ibm87v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24529,12 +22698,11 @@ testcases170(suite) -> []. %% ID: ibm-valid-P88-ibm88v01.xml %% Type: valid %% Sections: B. -'ibm-valid-P88-ibm88v01'(suite) -> []; 'ibm-valid-P88-ibm88v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P88/ibm88v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P88/ibm88v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -24547,12 +22715,11 @@ testcases170(suite) -> []. %% ID: ibm-valid-P89-ibm89v01.xml %% Type: valid %% Sections: B. -'ibm-valid-P89-ibm89v01'(suite) -> []; 'ibm-valid-P89-ibm89v01'(Config) -> - ?line file:set_cwd(xmerl_test_lib:get_data_dir(Config)), - ?line Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P89/ibm89v01.xml"]), - ?line R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), - ?line check_result(R, "valid"). + file:set_cwd(xmerl_test_lib:get_data_dir(Config)), + Path = filename:join([xmerl_test_lib:get_data_dir(Config),"ibm","valid/P89/ibm89v01.xml"]), + R = xmerl_sax_parser:file(Path, [{event_fun, fun(_,_,S) -> S end}]), + check_result(R, "valid"). %%---------------------------------------------------------------------- %% Test Cases @@ -25577,11 +23744,11 @@ end_per_group(_GroupName, Config) -> %% Dir is a directory rm_f_(Dir) -> - ?line {ok,CWD} = file:get_cwd(), - ?line {ok,FileList} = file:list_dir(Dir), - ?line file:set_cwd(filename:join([CWD,Dir])), + {ok,CWD} = file:get_cwd(), + {ok,FileList} = file:list_dir(Dir), + file:set_cwd(filename:join([CWD,Dir])), rm_files(FileList), - ?line file:set_cwd(CWD), + file:set_cwd(CWD), ? line ok = file:del_dir(Dir). rm_files([])-> @@ -25591,7 +23758,7 @@ rm_files([F|Fs]) -> true -> rm_f_(F); _ -> - ?line ok = file:delete(F) + ok = file:delete(F) end, rm_files(Fs). @@ -25599,11 +23766,11 @@ rm_files([F|Fs]) -> change_mode(Files) -> change_mode3(Files). change_mode2(Dir)-> - ?line {ok,CWD} = file:get_cwd(), - ?line {ok,FileList} = file:list_dir(Dir), - ?line file:set_cwd(filename:join([CWD,Dir])), + {ok,CWD} = file:get_cwd(), + {ok,FileList} = file:list_dir(Dir), + file:set_cwd(filename:join([CWD,Dir])), change_mode3(FileList), - ?line file:set_cwd(CWD). + file:set_cwd(CWD). change_mode3([]) -> ok; change_mode3([F|Fs]) -> @@ -25625,6 +23792,9 @@ chmod(F) -> ok end. +privdir(Config) -> + proplists:get_value(priv_dir, Config). + %%---------------------------------------------------------------------- %% check_result check_result({fatal_error,_,_,_,_}, "error") -> |