diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-20 17:04:45 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-20 17:04:45 +0200 |
commit | 6d1458814b1d9b3030f4823461e22a2be8d3fc68 (patch) | |
tree | 56d00fcd6d984b2429740284cf4f0b77004b9ab0 /lib/xmerl/test/xmerl_sax_std_SUITE.erl | |
parent | 2098d573b097566d598ded1444625439ee6c0ae3 (diff) | |
download | otp-6d1458814b1d9b3030f4823461e22a2be8d3fc68.tar.gz otp-6d1458814b1d9b3030f4823461e22a2be8d3fc68.tar.bz2 otp-6d1458814b1d9b3030f4823461e22a2be8d3fc68.zip |
Remove ?line macros
Diffstat (limited to 'lib/xmerl/test/xmerl_sax_std_SUITE.erl')
-rw-r--r-- | lib/xmerl/test/xmerl_sax_std_SUITE.erl | 14546 |
1 files changed, 7273 insertions, 7273 deletions
diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE.erl b/lib/xmerl/test/xmerl_sax_std_SUITE.erl index c363a8ea8b..fec6150a8d 100644 --- a/lib/xmerl/test/xmerl_sax_std_SUITE.erl +++ b/lib/xmerl/test/xmerl_sax_std_SUITE.erl @@ -41,39 +41,39 @@ 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)), + {ok, _} = file:read_file_info(filename:join([?config(priv_dir,Config)])), + code:add_patha(?config(priv_dir,Config)), % Dog=test_server:timetrap({minutes,10}), % [{watchdog, Dog}|Config]. Config. @@ -96,10 +96,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -109,10 +109,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -122,10 +122,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -135,10 +135,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -148,10 +148,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -161,10 +161,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -174,10 +174,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -187,10 +187,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -200,10 +200,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -213,10 +213,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -226,10 +226,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -239,10 +239,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -252,10 +252,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -265,10 +265,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -278,10 +278,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -291,10 +291,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -304,10 +304,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -317,10 +317,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -330,10 +330,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -343,10 +343,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -356,10 +356,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -369,10 +369,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -382,10 +382,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -395,10 +395,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -408,10 +408,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -421,10 +421,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -434,10 +434,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -447,10 +447,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -460,10 +460,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -473,10 +473,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -486,10 +486,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -499,10 +499,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -512,10 +512,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -525,10 +525,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -538,10 +538,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -551,13 +551,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -567,13 +567,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -583,10 +583,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -596,10 +596,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -609,13 +609,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -625,13 +625,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -641,10 +641,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -654,13 +654,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -670,13 +670,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -686,10 +686,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -699,10 +699,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -712,10 +712,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -725,13 +725,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -741,10 +741,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -754,10 +754,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -767,10 +767,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -780,10 +780,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -793,10 +793,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -806,10 +806,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -819,10 +819,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -832,10 +832,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -845,10 +845,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -858,10 +858,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -871,10 +871,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -884,10 +884,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -897,10 +897,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -910,10 +910,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -923,10 +923,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -936,10 +936,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -949,10 +949,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -962,10 +962,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -975,10 +975,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -988,10 +988,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1001,10 +1001,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1014,10 +1014,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1027,10 +1027,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1040,10 +1040,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1053,10 +1053,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1066,10 +1066,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1079,10 +1079,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1092,10 +1092,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1105,10 +1105,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1118,10 +1118,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1131,10 +1131,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1144,10 +1144,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1157,10 +1157,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1170,10 +1170,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1183,10 +1183,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1196,10 +1196,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1209,10 +1209,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1222,10 +1222,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1235,10 +1235,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1248,10 +1248,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1261,10 +1261,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1274,10 +1274,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1287,10 +1287,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1300,10 +1300,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1313,10 +1313,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1326,10 +1326,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1339,10 +1339,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1352,10 +1352,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1365,10 +1365,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1378,10 +1378,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1391,10 +1391,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1404,10 +1404,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1417,10 +1417,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1430,10 +1430,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1443,10 +1443,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1456,10 +1456,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1469,10 +1469,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1482,10 +1482,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1495,10 +1495,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1508,10 +1508,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1521,10 +1521,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1534,13 +1534,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1550,10 +1550,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1563,10 +1563,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1576,10 +1576,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1589,10 +1589,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1602,10 +1602,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1615,10 +1615,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1628,10 +1628,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1641,10 +1641,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1654,10 +1654,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1667,10 +1667,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1680,10 +1680,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1693,10 +1693,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1706,10 +1706,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1719,10 +1719,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1732,10 +1732,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1745,10 +1745,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1758,10 +1758,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1771,10 +1771,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1784,10 +1784,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1797,10 +1797,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1810,10 +1810,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1823,10 +1823,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1836,10 +1836,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1849,10 +1849,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1862,10 +1862,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1875,10 +1875,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1888,10 +1888,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1901,10 +1901,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1914,10 +1914,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1927,10 +1927,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1940,10 +1940,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1953,10 +1953,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1966,10 +1966,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1979,10 +1979,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -1992,10 +1992,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2005,10 +2005,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2018,10 +2018,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2031,10 +2031,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2044,10 +2044,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2057,10 +2057,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2070,14 +2070,14 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2087,10 +2087,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2100,10 +2100,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2113,10 +2113,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2126,10 +2126,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2139,10 +2139,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2152,10 +2152,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2165,10 +2165,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2178,10 +2178,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2191,10 +2191,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2204,10 +2204,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2217,10 +2217,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2230,10 +2230,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2243,10 +2243,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2256,10 +2256,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2269,10 +2269,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2282,10 +2282,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2295,10 +2295,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2308,10 +2308,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2321,10 +2321,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2334,10 +2334,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2347,10 +2347,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2360,10 +2360,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2373,10 +2373,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2386,10 +2386,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2399,10 +2399,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2412,10 +2412,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2425,10 +2425,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2438,10 +2438,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2451,10 +2451,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2464,10 +2464,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2477,10 +2477,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2490,10 +2490,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2503,10 +2503,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2516,10 +2516,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2529,10 +2529,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2542,10 +2542,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2555,10 +2555,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2568,10 +2568,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2581,10 +2581,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2594,10 +2594,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2607,10 +2607,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2620,10 +2620,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2633,10 +2633,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2646,10 +2646,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2659,10 +2659,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2672,10 +2672,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2685,10 +2685,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2698,10 +2698,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2711,10 +2711,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2724,10 +2724,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2737,10 +2737,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2750,10 +2750,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2763,10 +2763,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2776,10 +2776,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2789,10 +2789,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2802,10 +2802,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2815,10 +2815,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2828,10 +2828,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2841,10 +2841,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2854,10 +2854,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2867,10 +2867,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2880,10 +2880,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2893,10 +2893,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2906,10 +2906,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2919,10 +2919,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2932,10 +2932,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2945,10 +2945,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2958,10 +2958,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2971,10 +2971,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2984,10 +2984,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -2997,10 +2997,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3010,10 +3010,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3023,10 +3023,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3036,10 +3036,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3049,10 +3049,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3062,10 +3062,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3075,10 +3075,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3088,10 +3088,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3101,10 +3101,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3114,10 +3114,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3127,10 +3127,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3140,10 +3140,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3153,10 +3153,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3166,10 +3166,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3179,10 +3179,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3192,10 +3192,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3205,10 +3205,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3218,10 +3218,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3231,10 +3231,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3244,10 +3244,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3257,10 +3257,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3270,10 +3270,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3283,10 +3283,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3296,10 +3296,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3309,10 +3309,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3322,10 +3322,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3335,10 +3335,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3348,10 +3348,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3361,10 +3361,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3374,10 +3374,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3387,10 +3387,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3400,10 +3400,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3413,10 +3413,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3426,10 +3426,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3439,10 +3439,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3452,10 +3452,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3465,10 +3465,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3478,10 +3478,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3491,10 +3491,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3504,10 +3504,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3517,10 +3517,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3530,10 +3530,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3543,10 +3543,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3556,10 +3556,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3569,10 +3569,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3582,10 +3582,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3595,10 +3595,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3608,10 +3608,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3621,10 +3621,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3634,10 +3634,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3647,10 +3647,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3660,10 +3660,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3673,10 +3673,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3686,10 +3686,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3699,10 +3699,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3712,10 +3712,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3725,10 +3725,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3738,10 +3738,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3751,10 +3751,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3764,10 +3764,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3777,10 +3777,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3790,10 +3790,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3803,10 +3803,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3816,10 +3816,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3829,10 +3829,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3842,10 +3842,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3855,10 +3855,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3868,10 +3868,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3881,10 +3881,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3894,10 +3894,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3907,10 +3907,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3920,10 +3920,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3933,10 +3933,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3946,10 +3946,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3959,10 +3959,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3972,10 +3972,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3985,10 +3985,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -3998,10 +3998,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4011,10 +4011,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4024,10 +4024,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4037,10 +4037,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4050,10 +4050,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4063,10 +4063,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4076,10 +4076,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4089,10 +4089,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4102,10 +4102,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4115,10 +4115,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4128,10 +4128,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4141,10 +4141,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4154,10 +4154,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4167,10 +4167,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4180,10 +4180,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4193,10 +4193,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4206,10 +4206,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4219,10 +4219,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4232,10 +4232,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4245,10 +4245,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4258,10 +4258,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4271,10 +4271,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4284,10 +4284,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4297,10 +4297,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4310,10 +4310,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4323,10 +4323,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4336,10 +4336,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4349,10 +4349,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4362,10 +4362,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4375,10 +4375,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4388,10 +4388,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4401,10 +4401,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4414,10 +4414,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4427,10 +4427,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4440,10 +4440,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4453,10 +4453,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4466,10 +4466,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4479,10 +4479,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4492,10 +4492,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4505,10 +4505,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4518,10 +4518,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4531,10 +4531,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4544,10 +4544,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4557,10 +4557,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4570,10 +4570,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4583,10 +4583,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4596,10 +4596,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4609,10 +4609,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4622,10 +4622,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4635,10 +4635,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4648,10 +4648,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4661,10 +4661,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4674,10 +4674,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4687,10 +4687,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4700,10 +4700,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4713,10 +4713,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4726,10 +4726,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4739,10 +4739,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4752,10 +4752,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4765,10 +4765,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4778,10 +4778,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4791,10 +4791,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4804,10 +4804,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4817,10 +4817,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4830,10 +4830,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4843,10 +4843,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4866,10 +4866,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4879,10 +4879,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4892,10 +4892,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4905,10 +4905,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4918,10 +4918,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4931,10 +4931,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4944,10 +4944,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4957,10 +4957,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4970,10 +4970,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4983,10 +4983,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -4996,10 +4996,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5009,10 +5009,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5032,10 +5032,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5045,10 +5045,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5058,10 +5058,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5071,10 +5071,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5084,10 +5084,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5097,10 +5097,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5110,10 +5110,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5123,10 +5123,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5136,10 +5136,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5149,10 +5149,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5162,10 +5162,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5175,10 +5175,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5188,10 +5188,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5201,10 +5201,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5214,10 +5214,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5227,10 +5227,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5240,10 +5240,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5253,10 +5253,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5266,10 +5266,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5279,10 +5279,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5292,10 +5292,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5305,10 +5305,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5318,10 +5318,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5331,10 +5331,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5344,10 +5344,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5357,10 +5357,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5370,10 +5370,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5383,10 +5383,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5396,10 +5396,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5409,10 +5409,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5422,10 +5422,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5435,10 +5435,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5448,10 +5448,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5461,10 +5461,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5474,10 +5474,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5487,10 +5487,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5500,10 +5500,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5513,10 +5513,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5526,10 +5526,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5539,10 +5539,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5552,10 +5552,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5565,10 +5565,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5578,10 +5578,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5591,10 +5591,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5604,10 +5604,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5617,10 +5617,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5630,10 +5630,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5643,10 +5643,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5656,10 +5656,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5669,10 +5669,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5682,10 +5682,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5695,10 +5695,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5708,10 +5708,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5721,10 +5721,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5734,10 +5734,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5747,10 +5747,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5760,10 +5760,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5773,10 +5773,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5786,10 +5786,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5799,10 +5799,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5812,10 +5812,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5825,10 +5825,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5838,10 +5838,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5851,10 +5851,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5864,10 +5864,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5877,10 +5877,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5890,10 +5890,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5903,10 +5903,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5916,10 +5916,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5929,10 +5929,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5942,10 +5942,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5955,10 +5955,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5968,10 +5968,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5981,10 +5981,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -5994,10 +5994,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6007,10 +6007,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6020,10 +6020,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6033,10 +6033,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6046,10 +6046,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6059,10 +6059,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6072,10 +6072,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6085,10 +6085,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6098,10 +6098,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6111,10 +6111,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6124,10 +6124,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6137,10 +6137,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6150,10 +6150,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6163,10 +6163,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6176,10 +6176,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6189,10 +6189,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6202,10 +6202,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6215,10 +6215,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6228,10 +6228,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6241,10 +6241,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6254,10 +6254,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6267,10 +6267,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6280,10 +6280,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6293,10 +6293,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6306,10 +6306,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6319,10 +6319,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6332,10 +6332,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6345,10 +6345,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6358,10 +6358,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6371,10 +6371,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6384,10 +6384,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6397,10 +6397,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6410,10 +6410,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6423,10 +6423,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6436,10 +6436,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6449,10 +6449,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6462,10 +6462,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6475,10 +6475,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6488,10 +6488,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6501,10 +6501,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6514,10 +6514,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6527,10 +6527,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6540,10 +6540,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6553,10 +6553,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6566,10 +6566,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6579,10 +6579,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6592,10 +6592,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6605,10 +6605,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6618,10 +6618,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6631,10 +6631,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6644,10 +6644,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6657,10 +6657,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6670,10 +6670,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6683,10 +6683,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6696,10 +6696,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6709,10 +6709,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6722,10 +6722,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6735,10 +6735,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6748,10 +6748,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6761,10 +6761,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6774,10 +6774,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6787,10 +6787,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6800,10 +6800,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6813,10 +6813,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6826,10 +6826,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6839,10 +6839,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6852,10 +6852,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6865,10 +6865,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6878,10 +6878,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6891,10 +6891,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6904,10 +6904,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6917,10 +6917,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6930,10 +6930,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6943,10 +6943,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6956,10 +6956,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6969,10 +6969,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6982,10 +6982,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -6995,10 +6995,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7008,10 +7008,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7021,10 +7021,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7034,10 +7034,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7047,10 +7047,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7060,10 +7060,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7073,10 +7073,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7086,10 +7086,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7104,10 +7104,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7117,10 +7117,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7130,10 +7130,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7143,10 +7143,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7156,10 +7156,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7169,10 +7169,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7182,10 +7182,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7195,10 +7195,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7208,10 +7208,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7221,10 +7221,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7234,10 +7234,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7247,10 +7247,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7260,10 +7260,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7273,10 +7273,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7286,10 +7286,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7299,10 +7299,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7312,10 +7312,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7325,10 +7325,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7338,10 +7338,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7351,10 +7351,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7364,10 +7364,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7377,10 +7377,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7390,10 +7390,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7403,10 +7403,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7416,10 +7416,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7429,10 +7429,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7442,10 +7442,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7455,10 +7455,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7468,10 +7468,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7481,10 +7481,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7494,10 +7494,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7507,10 +7507,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7520,10 +7520,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7533,10 +7533,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7546,10 +7546,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7559,10 +7559,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7572,10 +7572,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7585,10 +7585,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7598,10 +7598,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7611,10 +7611,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7624,10 +7624,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7637,10 +7637,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7650,10 +7650,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7663,10 +7663,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7676,10 +7676,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7689,10 +7689,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7702,10 +7702,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7715,10 +7715,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7728,10 +7728,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7741,10 +7741,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7754,10 +7754,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7767,10 +7767,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7780,10 +7780,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7793,10 +7793,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7806,10 +7806,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7819,10 +7819,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7832,10 +7832,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7845,10 +7845,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7858,10 +7858,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7871,10 +7871,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7884,10 +7884,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7897,10 +7897,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7910,10 +7910,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7923,10 +7923,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7936,10 +7936,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7949,10 +7949,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7962,10 +7962,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7975,10 +7975,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -7988,10 +7988,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8001,10 +8001,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8014,10 +8014,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8027,10 +8027,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8040,10 +8040,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8053,10 +8053,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8066,10 +8066,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8079,10 +8079,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8092,10 +8092,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8105,10 +8105,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8118,10 +8118,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8131,10 +8131,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8144,10 +8144,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8157,10 +8157,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8170,10 +8170,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8183,10 +8183,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8196,10 +8196,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8209,10 +8209,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8222,10 +8222,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8235,10 +8235,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8248,10 +8248,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8261,10 +8261,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8274,10 +8274,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8287,10 +8287,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8300,10 +8300,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8313,10 +8313,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8326,10 +8326,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8339,10 +8339,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8352,10 +8352,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8365,10 +8365,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8378,10 +8378,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8391,10 +8391,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8404,10 +8404,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8417,10 +8417,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8430,13 +8430,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8446,10 +8446,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8459,10 +8459,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8472,10 +8472,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8485,10 +8485,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8498,10 +8498,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8511,10 +8511,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8524,10 +8524,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8537,10 +8537,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8550,10 +8550,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8563,10 +8563,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8576,10 +8576,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8589,10 +8589,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8602,10 +8602,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8615,10 +8615,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8628,10 +8628,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8641,10 +8641,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8654,10 +8654,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8667,10 +8667,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8680,10 +8680,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8693,10 +8693,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8706,10 +8706,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8719,10 +8719,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8732,10 +8732,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8745,10 +8745,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8758,10 +8758,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8771,10 +8771,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8784,10 +8784,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8797,10 +8797,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8810,10 +8810,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8823,10 +8823,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8836,10 +8836,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8849,10 +8849,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8862,10 +8862,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8875,10 +8875,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8888,10 +8888,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8901,10 +8901,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8914,10 +8914,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8927,10 +8927,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8940,10 +8940,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8953,10 +8953,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8966,10 +8966,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8979,10 +8979,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -8992,10 +8992,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9005,10 +9005,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9018,10 +9018,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9031,10 +9031,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9044,10 +9044,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9057,10 +9057,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9070,10 +9070,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9083,10 +9083,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9096,10 +9096,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9109,10 +9109,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9122,10 +9122,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9135,10 +9135,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9148,10 +9148,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9161,10 +9161,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9174,10 +9174,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9187,10 +9187,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9200,10 +9200,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9213,10 +9213,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9226,10 +9226,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9239,10 +9239,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9252,10 +9252,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9265,10 +9265,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9278,10 +9278,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9291,10 +9291,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9304,10 +9304,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9317,10 +9317,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9330,10 +9330,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9343,10 +9343,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9356,10 +9356,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9369,10 +9369,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9382,10 +9382,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9395,10 +9395,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9408,10 +9408,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9421,10 +9421,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9434,10 +9434,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9447,10 +9447,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9460,10 +9460,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9473,10 +9473,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9486,10 +9486,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9499,10 +9499,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9512,10 +9512,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9525,10 +9525,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9538,10 +9538,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9551,10 +9551,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9564,10 +9564,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9577,10 +9577,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9590,10 +9590,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9603,10 +9603,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9616,10 +9616,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9629,10 +9629,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9642,10 +9642,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9655,10 +9655,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9668,10 +9668,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9681,10 +9681,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9694,10 +9694,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9707,10 +9707,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9720,10 +9720,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9733,10 +9733,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9746,10 +9746,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9759,10 +9759,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9772,10 +9772,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9785,10 +9785,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9798,10 +9798,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9811,10 +9811,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9824,10 +9824,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9837,10 +9837,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9850,10 +9850,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9863,10 +9863,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9876,10 +9876,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9889,10 +9889,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9902,10 +9902,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9915,10 +9915,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9928,10 +9928,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9941,10 +9941,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9954,10 +9954,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9967,10 +9967,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9980,10 +9980,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -9993,10 +9993,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10006,10 +10006,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10019,10 +10019,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10032,10 +10032,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10045,10 +10045,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10058,10 +10058,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10071,10 +10071,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10084,10 +10084,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10097,10 +10097,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10110,10 +10110,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10123,10 +10123,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10136,10 +10136,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10149,10 +10149,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10162,10 +10162,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10175,10 +10175,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10188,10 +10188,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10201,10 +10201,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10214,10 +10214,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10227,10 +10227,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10240,10 +10240,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10253,10 +10253,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10266,10 +10266,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10279,10 +10279,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10292,10 +10292,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10305,10 +10305,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10318,10 +10318,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10331,10 +10331,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10344,10 +10344,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10357,10 +10357,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10370,10 +10370,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10383,10 +10383,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10396,10 +10396,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10409,10 +10409,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10422,10 +10422,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10435,10 +10435,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10448,10 +10448,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10461,10 +10461,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10474,10 +10474,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10487,10 +10487,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10500,10 +10500,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10513,10 +10513,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10526,10 +10526,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10539,10 +10539,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10552,10 +10552,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10565,10 +10565,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10578,10 +10578,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10591,10 +10591,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10604,10 +10604,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10617,10 +10617,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10630,10 +10630,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10643,10 +10643,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10656,10 +10656,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10669,10 +10669,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10682,10 +10682,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10695,10 +10695,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10708,10 +10708,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10721,10 +10721,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10734,10 +10734,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10747,10 +10747,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10760,10 +10760,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10773,10 +10773,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10786,10 +10786,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10799,10 +10799,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10812,10 +10812,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10825,10 +10825,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10838,10 +10838,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10851,10 +10851,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10864,10 +10864,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10877,10 +10877,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10890,10 +10890,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10903,10 +10903,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10916,10 +10916,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10929,10 +10929,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10942,10 +10942,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10955,10 +10955,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10968,10 +10968,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10981,10 +10981,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -10994,10 +10994,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11007,10 +11007,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11020,10 +11020,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11033,10 +11033,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11046,10 +11046,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11059,10 +11059,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11072,10 +11072,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11085,10 +11085,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11098,10 +11098,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11111,10 +11111,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11124,10 +11124,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11137,10 +11137,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11150,10 +11150,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11163,10 +11163,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11176,10 +11176,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11189,10 +11189,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11202,10 +11202,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11215,10 +11215,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11228,10 +11228,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11241,10 +11241,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11254,10 +11254,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11267,10 +11267,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11280,10 +11280,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11293,10 +11293,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11306,10 +11306,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11319,10 +11319,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11332,10 +11332,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11345,10 +11345,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11358,10 +11358,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11371,10 +11371,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11384,10 +11384,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11397,10 +11397,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11410,10 +11410,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11423,10 +11423,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11436,10 +11436,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11449,10 +11449,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11462,10 +11462,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11475,10 +11475,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11488,10 +11488,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11501,10 +11501,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11514,10 +11514,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11527,10 +11527,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11540,10 +11540,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11553,10 +11553,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11566,10 +11566,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11579,10 +11579,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11592,10 +11592,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11605,10 +11605,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11618,10 +11618,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11641,10 +11641,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11659,10 +11659,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11672,10 +11672,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11685,10 +11685,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11703,10 +11703,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11716,10 +11716,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11729,10 +11729,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11742,10 +11742,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11760,10 +11760,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11773,10 +11773,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11791,10 +11791,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11809,10 +11809,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11827,10 +11827,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11845,10 +11845,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11858,10 +11858,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11876,10 +11876,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11889,10 +11889,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11902,10 +11902,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11915,10 +11915,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11928,10 +11928,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11941,10 +11941,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11954,10 +11954,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11967,10 +11967,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11980,10 +11980,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -11993,10 +11993,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12006,10 +12006,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12019,10 +12019,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12032,10 +12032,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12045,10 +12045,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12058,10 +12058,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12071,10 +12071,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12084,10 +12084,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12102,10 +12102,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12115,10 +12115,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12133,10 +12133,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12151,10 +12151,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12164,10 +12164,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12177,10 +12177,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12190,10 +12190,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12208,10 +12208,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12221,10 +12221,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12234,10 +12234,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12247,10 +12247,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12265,10 +12265,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12278,10 +12278,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12291,10 +12291,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12304,10 +12304,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12322,10 +12322,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12345,10 +12345,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12358,14 +12358,14 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12375,13 +12375,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12396,10 +12396,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12409,10 +12409,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12422,10 +12422,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12435,10 +12435,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12448,10 +12448,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12461,10 +12461,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12474,10 +12474,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12487,10 +12487,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12500,10 +12500,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12513,10 +12513,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12526,10 +12526,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12539,10 +12539,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12552,10 +12552,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12565,10 +12565,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12578,10 +12578,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12591,10 +12591,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12604,10 +12604,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12617,10 +12617,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12630,10 +12630,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12643,10 +12643,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12656,10 +12656,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12669,10 +12669,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12682,10 +12682,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12695,10 +12695,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12708,10 +12708,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12721,10 +12721,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12734,10 +12734,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12747,10 +12747,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12760,10 +12760,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12773,10 +12773,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12786,10 +12786,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12799,10 +12799,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12812,10 +12812,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12830,10 +12830,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12848,10 +12848,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12861,10 +12861,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12874,10 +12874,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12887,10 +12887,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12900,10 +12900,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12913,10 +12913,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12926,10 +12926,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12939,10 +12939,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12952,10 +12952,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12965,10 +12965,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12978,10 +12978,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -12991,10 +12991,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13004,10 +13004,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13017,10 +13017,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13030,10 +13030,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13043,10 +13043,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13056,10 +13056,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13069,10 +13069,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13087,10 +13087,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13100,10 +13100,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13113,10 +13113,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13131,10 +13131,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13144,10 +13144,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13157,10 +13157,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13170,10 +13170,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13188,10 +13188,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13201,10 +13201,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13214,10 +13214,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13227,10 +13227,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13240,10 +13240,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13253,10 +13253,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13266,10 +13266,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13279,10 +13279,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13297,10 +13297,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13310,10 +13310,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13323,10 +13323,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13336,10 +13336,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13354,10 +13354,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13367,10 +13367,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13380,10 +13380,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13398,10 +13398,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13411,10 +13411,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13424,10 +13424,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13442,10 +13442,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13455,10 +13455,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13468,10 +13468,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13486,10 +13486,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13499,10 +13499,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13512,10 +13512,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13525,10 +13525,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13543,10 +13543,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13556,10 +13556,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13569,10 +13569,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13582,10 +13582,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13600,10 +13600,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13613,10 +13613,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13626,10 +13626,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13639,10 +13639,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13657,10 +13657,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13670,10 +13670,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13688,10 +13688,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13701,10 +13701,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13714,10 +13714,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13732,10 +13732,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13750,10 +13750,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13763,10 +13763,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13776,10 +13776,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13794,10 +13794,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13807,10 +13807,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13820,10 +13820,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13838,10 +13838,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13851,10 +13851,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13864,10 +13864,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13877,10 +13877,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13890,10 +13890,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13903,10 +13903,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13921,10 +13921,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13934,10 +13934,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13947,10 +13947,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13960,10 +13960,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13973,10 +13973,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13986,10 +13986,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -13999,10 +13999,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14012,10 +14012,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14025,10 +14025,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14043,10 +14043,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14056,10 +14056,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14074,10 +14074,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14092,13 +14092,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14113,10 +14113,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14126,10 +14126,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14139,10 +14139,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14152,10 +14152,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14165,10 +14165,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14178,10 +14178,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14191,10 +14191,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14204,10 +14204,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14222,10 +14222,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14240,10 +14240,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14253,10 +14253,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14266,10 +14266,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14279,10 +14279,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14292,10 +14292,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14305,10 +14305,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14318,10 +14318,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14336,10 +14336,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14354,10 +14354,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14372,10 +14372,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14385,10 +14385,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14398,10 +14398,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14411,10 +14411,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14424,10 +14424,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14437,10 +14437,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14450,10 +14450,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14463,10 +14463,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14476,10 +14476,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14494,10 +14494,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14507,10 +14507,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14520,10 +14520,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14533,10 +14533,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14546,10 +14546,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14559,13 +14559,13 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14580,10 +14580,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14593,10 +14593,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14606,10 +14606,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14619,10 +14619,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14632,10 +14632,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14650,10 +14650,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14663,10 +14663,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14676,10 +14676,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14689,10 +14689,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14702,10 +14702,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14715,10 +14715,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14728,10 +14728,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14741,10 +14741,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14754,10 +14754,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14767,10 +14767,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14780,10 +14780,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14793,10 +14793,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14806,10 +14806,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14819,10 +14819,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14837,10 +14837,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14850,10 +14850,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14863,10 +14863,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14876,10 +14876,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14889,10 +14889,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14907,10 +14907,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14920,10 +14920,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14933,10 +14933,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14946,10 +14946,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14964,10 +14964,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14977,10 +14977,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -14990,10 +14990,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15003,10 +15003,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15021,10 +15021,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15034,10 +15034,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15047,10 +15047,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15060,10 +15060,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15073,10 +15073,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15086,10 +15086,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15099,10 +15099,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15112,10 +15112,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15125,10 +15125,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15143,10 +15143,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15156,10 +15156,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15169,10 +15169,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15182,10 +15182,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15195,10 +15195,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15213,10 +15213,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15226,10 +15226,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15239,10 +15239,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15252,10 +15252,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15265,10 +15265,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15278,10 +15278,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15296,10 +15296,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15309,10 +15309,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15322,10 +15322,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15335,10 +15335,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15348,10 +15348,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15361,10 +15361,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15374,10 +15374,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15392,10 +15392,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15405,10 +15405,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15418,10 +15418,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15431,10 +15431,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15444,10 +15444,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15457,10 +15457,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15475,10 +15475,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15488,10 +15488,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15501,10 +15501,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15514,10 +15514,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15527,10 +15527,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15540,10 +15540,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15553,10 +15553,10 @@ end_per_testcase(_Func,_Config) -> %% 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 @@ -15573,10 +15573,10 @@ testcases67(suite) -> []. %% 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 @@ -15586,10 +15586,10 @@ testcases67(suite) -> []. %% 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 @@ -15599,10 +15599,10 @@ testcases67(suite) -> []. %% 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 @@ -15612,10 +15612,10 @@ testcases67(suite) -> []. %% 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 @@ -15625,10 +15625,10 @@ testcases67(suite) -> []. %% 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 @@ -15638,10 +15638,10 @@ testcases67(suite) -> []. %% 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 @@ -15651,10 +15651,10 @@ testcases67(suite) -> []. %% 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 @@ -15671,10 +15671,10 @@ testcases68(suite) -> []. %% 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 @@ -15684,10 +15684,10 @@ testcases68(suite) -> []. %% 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 @@ -15697,10 +15697,10 @@ testcases68(suite) -> []. %% 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 @@ -15710,10 +15710,10 @@ testcases68(suite) -> []. %% 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 @@ -15723,10 +15723,10 @@ testcases68(suite) -> []. %% 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 @@ -15736,10 +15736,10 @@ testcases68(suite) -> []. %% 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 @@ -15754,10 +15754,10 @@ testcases68(suite) -> []. %% 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 @@ -15767,10 +15767,10 @@ testcases68(suite) -> []. %% 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 @@ -15780,10 +15780,10 @@ testcases68(suite) -> []. %% 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 @@ -15793,10 +15793,10 @@ testcases68(suite) -> []. %% 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 @@ -15806,10 +15806,10 @@ testcases68(suite) -> []. %% 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 @@ -15819,10 +15819,10 @@ testcases68(suite) -> []. %% 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 @@ -15832,10 +15832,10 @@ testcases68(suite) -> []. %% 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 @@ -15845,10 +15845,10 @@ testcases68(suite) -> []. %% 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 @@ -15863,10 +15863,10 @@ testcases68(suite) -> []. %% 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 @@ -15876,10 +15876,10 @@ testcases68(suite) -> []. %% 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 @@ -15894,10 +15894,10 @@ testcases68(suite) -> []. %% 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 @@ -15907,10 +15907,10 @@ testcases68(suite) -> []. %% 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 @@ -15920,10 +15920,10 @@ testcases68(suite) -> []. %% 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 @@ -15938,10 +15938,10 @@ testcases68(suite) -> []. %% 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 @@ -15951,10 +15951,10 @@ testcases68(suite) -> []. %% 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 @@ -15964,10 +15964,10 @@ testcases68(suite) -> []. %% 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 @@ -15977,10 +15977,10 @@ testcases68(suite) -> []. %% 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 @@ -15990,10 +15990,10 @@ testcases68(suite) -> []. %% 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 @@ -16003,10 +16003,10 @@ testcases68(suite) -> []. %% 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 @@ -16016,10 +16016,10 @@ testcases68(suite) -> []. %% 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 @@ -16034,10 +16034,10 @@ testcases68(suite) -> []. %% 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 @@ -16052,10 +16052,10 @@ testcases68(suite) -> []. %% 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 @@ -16065,10 +16065,10 @@ testcases68(suite) -> []. %% 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 @@ -16078,10 +16078,10 @@ testcases68(suite) -> []. %% 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 @@ -16091,10 +16091,10 @@ testcases68(suite) -> []. %% 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 @@ -16104,10 +16104,10 @@ testcases68(suite) -> []. %% 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 @@ -16117,10 +16117,10 @@ testcases68(suite) -> []. %% 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 @@ -16130,10 +16130,10 @@ testcases68(suite) -> []. %% 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 @@ -16143,10 +16143,10 @@ testcases68(suite) -> []. %% 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 @@ -16161,10 +16161,10 @@ testcases68(suite) -> []. %% 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 @@ -16174,10 +16174,10 @@ testcases68(suite) -> []. %% 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 @@ -16187,10 +16187,10 @@ testcases68(suite) -> []. %% 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 @@ -16200,10 +16200,10 @@ testcases68(suite) -> []. %% 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 @@ -16213,10 +16213,10 @@ testcases68(suite) -> []. %% 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 @@ -16226,10 +16226,10 @@ testcases68(suite) -> []. %% 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 @@ -16244,10 +16244,10 @@ testcases68(suite) -> []. %% 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 @@ -16257,10 +16257,10 @@ testcases68(suite) -> []. %% 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 @@ -16270,10 +16270,10 @@ testcases68(suite) -> []. %% 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 @@ -16283,10 +16283,10 @@ testcases68(suite) -> []. %% 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 @@ -16296,10 +16296,10 @@ testcases68(suite) -> []. %% 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 @@ -16309,10 +16309,10 @@ testcases68(suite) -> []. %% 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 @@ -16322,10 +16322,10 @@ testcases68(suite) -> []. %% 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 @@ -16335,10 +16335,10 @@ testcases68(suite) -> []. %% 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 @@ -16353,10 +16353,10 @@ testcases68(suite) -> []. %% 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 @@ -16371,10 +16371,10 @@ testcases68(suite) -> []. %% 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 @@ -16384,10 +16384,10 @@ testcases68(suite) -> []. %% 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 @@ -16397,10 +16397,10 @@ testcases68(suite) -> []. %% 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 @@ -16410,10 +16410,10 @@ testcases68(suite) -> []. %% 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 @@ -16423,10 +16423,10 @@ testcases68(suite) -> []. %% 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 @@ -16436,10 +16436,10 @@ testcases68(suite) -> []. %% 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 @@ -16449,10 +16449,10 @@ testcases68(suite) -> []. %% 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 @@ -16462,10 +16462,10 @@ testcases68(suite) -> []. %% 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 @@ -16480,10 +16480,10 @@ testcases68(suite) -> []. %% 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 @@ -16493,10 +16493,10 @@ testcases68(suite) -> []. %% 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 @@ -16506,10 +16506,10 @@ testcases68(suite) -> []. %% 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 @@ -16519,10 +16519,10 @@ testcases68(suite) -> []. %% 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 @@ -16532,10 +16532,10 @@ testcases68(suite) -> []. %% 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 @@ -16545,10 +16545,10 @@ testcases68(suite) -> []. %% 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 @@ -16558,10 +16558,10 @@ testcases68(suite) -> []. %% 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 @@ -16576,10 +16576,10 @@ testcases68(suite) -> []. %% 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 @@ -16589,10 +16589,10 @@ testcases68(suite) -> []. %% 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 @@ -16602,10 +16602,10 @@ testcases68(suite) -> []. %% 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 @@ -16620,10 +16620,10 @@ testcases68(suite) -> []. %% 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 @@ -16633,10 +16633,10 @@ testcases68(suite) -> []. %% 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 @@ -16651,10 +16651,10 @@ testcases68(suite) -> []. %% 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 @@ -16664,10 +16664,10 @@ testcases68(suite) -> []. %% 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 @@ -16677,10 +16677,10 @@ testcases68(suite) -> []. %% 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 @@ -16690,10 +16690,10 @@ testcases68(suite) -> []. %% 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 @@ -16703,10 +16703,10 @@ testcases68(suite) -> []. %% 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 @@ -16716,10 +16716,10 @@ testcases68(suite) -> []. %% 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 @@ -16729,10 +16729,10 @@ testcases68(suite) -> []. %% 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 @@ -16742,10 +16742,10 @@ testcases68(suite) -> []. %% 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 @@ -16755,10 +16755,10 @@ testcases68(suite) -> []. %% 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 @@ -16768,10 +16768,10 @@ testcases68(suite) -> []. %% 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 @@ -16781,10 +16781,10 @@ testcases68(suite) -> []. %% 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 @@ -16794,10 +16794,10 @@ testcases68(suite) -> []. %% 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 @@ -16807,10 +16807,10 @@ testcases68(suite) -> []. %% 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 @@ -16820,10 +16820,10 @@ testcases68(suite) -> []. %% 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 @@ -16833,10 +16833,10 @@ testcases68(suite) -> []. %% 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 @@ -16851,10 +16851,10 @@ testcases68(suite) -> []. %% 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 @@ -16864,10 +16864,10 @@ testcases68(suite) -> []. %% 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 @@ -16877,10 +16877,10 @@ testcases68(suite) -> []. %% 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 @@ -16890,10 +16890,10 @@ testcases68(suite) -> []. %% 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 @@ -16903,10 +16903,10 @@ testcases68(suite) -> []. %% 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 @@ -16916,10 +16916,10 @@ testcases68(suite) -> []. %% 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 @@ -16929,10 +16929,10 @@ testcases68(suite) -> []. %% 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 @@ -16942,10 +16942,10 @@ testcases68(suite) -> []. %% 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 @@ -16955,10 +16955,10 @@ testcases68(suite) -> []. %% 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 @@ -16968,10 +16968,10 @@ testcases68(suite) -> []. %% 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 @@ -16986,10 +16986,10 @@ testcases68(suite) -> []. %% 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 @@ -16999,10 +16999,10 @@ testcases68(suite) -> []. %% 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 @@ -17012,10 +17012,10 @@ testcases68(suite) -> []. %% 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 @@ -17025,10 +17025,10 @@ testcases68(suite) -> []. %% 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 @@ -17038,10 +17038,10 @@ testcases68(suite) -> []. %% 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 @@ -17051,10 +17051,10 @@ testcases68(suite) -> []. %% 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 @@ -17064,10 +17064,10 @@ testcases68(suite) -> []. %% 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 @@ -17082,10 +17082,10 @@ testcases68(suite) -> []. %% 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 @@ -17095,10 +17095,10 @@ testcases68(suite) -> []. %% 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 @@ -17108,10 +17108,10 @@ testcases68(suite) -> []. %% 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 @@ -17121,10 +17121,10 @@ testcases68(suite) -> []. %% 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 @@ -17134,10 +17134,10 @@ testcases68(suite) -> []. %% 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 @@ -17147,10 +17147,10 @@ testcases68(suite) -> []. %% 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 @@ -17160,10 +17160,10 @@ testcases68(suite) -> []. %% 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 @@ -17173,10 +17173,10 @@ testcases68(suite) -> []. %% 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 @@ -17186,10 +17186,10 @@ testcases68(suite) -> []. %% 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 @@ -17204,10 +17204,10 @@ testcases68(suite) -> []. %% 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 @@ -17217,10 +17217,10 @@ testcases68(suite) -> []. %% 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 @@ -17230,10 +17230,10 @@ testcases68(suite) -> []. %% 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 @@ -17243,10 +17243,10 @@ testcases68(suite) -> []. %% 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 @@ -17256,10 +17256,10 @@ testcases68(suite) -> []. %% 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 @@ -17269,10 +17269,10 @@ testcases68(suite) -> []. %% 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 @@ -17282,10 +17282,10 @@ testcases68(suite) -> []. %% 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 @@ -17295,10 +17295,10 @@ testcases68(suite) -> []. %% 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 @@ -17308,10 +17308,10 @@ testcases68(suite) -> []. %% 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 @@ -17326,10 +17326,10 @@ testcases68(suite) -> []. %% 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 @@ -17339,10 +17339,10 @@ testcases68(suite) -> []. %% 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 @@ -17357,10 +17357,10 @@ testcases68(suite) -> []. %% 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 @@ -17375,10 +17375,10 @@ testcases68(suite) -> []. %% 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 @@ -17388,10 +17388,10 @@ testcases68(suite) -> []. %% 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 @@ -17401,10 +17401,10 @@ testcases68(suite) -> []. %% 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 @@ -17414,10 +17414,10 @@ testcases68(suite) -> []. %% 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 @@ -17427,10 +17427,10 @@ testcases68(suite) -> []. %% 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 @@ -17440,10 +17440,10 @@ testcases68(suite) -> []. %% 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 @@ -17453,10 +17453,10 @@ testcases68(suite) -> []. %% 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 @@ -17466,10 +17466,10 @@ testcases68(suite) -> []. %% 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 @@ -17479,10 +17479,10 @@ testcases68(suite) -> []. %% 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 @@ -17492,10 +17492,10 @@ testcases68(suite) -> []. %% 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 @@ -17505,10 +17505,10 @@ testcases68(suite) -> []. %% 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 @@ -17518,10 +17518,10 @@ testcases68(suite) -> []. %% 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 @@ -17531,10 +17531,10 @@ testcases68(suite) -> []. %% 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 @@ -17549,10 +17549,10 @@ testcases68(suite) -> []. %% 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 @@ -17562,10 +17562,10 @@ testcases68(suite) -> []. %% 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 @@ -17575,10 +17575,10 @@ testcases68(suite) -> []. %% 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 @@ -17588,10 +17588,10 @@ testcases68(suite) -> []. %% 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 @@ -17601,10 +17601,10 @@ testcases68(suite) -> []. %% 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 @@ -17614,10 +17614,10 @@ testcases68(suite) -> []. %% 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 @@ -17627,10 +17627,10 @@ testcases68(suite) -> []. %% 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 @@ -17645,10 +17645,10 @@ testcases68(suite) -> []. %% 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 @@ -17658,10 +17658,10 @@ testcases68(suite) -> []. %% 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 @@ -17671,10 +17671,10 @@ testcases68(suite) -> []. %% 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 @@ -17684,10 +17684,10 @@ testcases68(suite) -> []. %% 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 @@ -17702,10 +17702,10 @@ testcases68(suite) -> []. %% 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 @@ -17715,10 +17715,10 @@ testcases68(suite) -> []. %% 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 @@ -17733,10 +17733,10 @@ testcases68(suite) -> []. %% 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 @@ -17746,10 +17746,10 @@ testcases68(suite) -> []. %% 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 @@ -17764,10 +17764,10 @@ testcases68(suite) -> []. %% 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 @@ -17777,10 +17777,10 @@ testcases68(suite) -> []. %% 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 @@ -17790,10 +17790,10 @@ testcases68(suite) -> []. %% 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 @@ -17803,10 +17803,10 @@ testcases68(suite) -> []. %% 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 @@ -17816,10 +17816,10 @@ testcases68(suite) -> []. %% 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 @@ -17829,10 +17829,10 @@ testcases68(suite) -> []. %% 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 @@ -17847,10 +17847,10 @@ testcases68(suite) -> []. %% 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 @@ -17860,10 +17860,10 @@ testcases68(suite) -> []. %% 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 @@ -17873,10 +17873,10 @@ testcases68(suite) -> []. %% 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 @@ -17886,10 +17886,10 @@ testcases68(suite) -> []. %% 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 @@ -17899,10 +17899,10 @@ testcases68(suite) -> []. %% 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 @@ -17912,10 +17912,10 @@ testcases68(suite) -> []. %% 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 @@ -17925,10 +17925,10 @@ testcases68(suite) -> []. %% 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 @@ -17938,10 +17938,10 @@ testcases68(suite) -> []. %% 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 @@ -17951,10 +17951,10 @@ testcases68(suite) -> []. %% 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 @@ -17969,10 +17969,10 @@ testcases68(suite) -> []. %% 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 @@ -17982,10 +17982,10 @@ testcases68(suite) -> []. %% 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 @@ -17995,10 +17995,10 @@ testcases68(suite) -> []. %% 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 @@ -18008,10 +18008,10 @@ testcases68(suite) -> []. %% 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 @@ -18021,10 +18021,10 @@ testcases68(suite) -> []. %% 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 @@ -18034,10 +18034,10 @@ testcases68(suite) -> []. %% 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 @@ -18047,10 +18047,10 @@ testcases68(suite) -> []. %% 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 @@ -18060,10 +18060,10 @@ testcases68(suite) -> []. %% 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 @@ -18078,10 +18078,10 @@ testcases68(suite) -> []. %% 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 @@ -18091,10 +18091,10 @@ testcases68(suite) -> []. %% 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 @@ -18104,10 +18104,10 @@ testcases68(suite) -> []. %% 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 @@ -18117,10 +18117,10 @@ testcases68(suite) -> []. %% 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 @@ -18130,10 +18130,10 @@ testcases68(suite) -> []. %% 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 @@ -18143,10 +18143,10 @@ testcases68(suite) -> []. %% 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 @@ -18161,10 +18161,10 @@ testcases68(suite) -> []. %% 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 @@ -18174,10 +18174,10 @@ testcases68(suite) -> []. %% 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 @@ -18187,10 +18187,10 @@ testcases68(suite) -> []. %% 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 @@ -18200,10 +18200,10 @@ testcases68(suite) -> []. %% 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 @@ -18213,10 +18213,10 @@ testcases68(suite) -> []. %% 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 @@ -18226,10 +18226,10 @@ testcases68(suite) -> []. %% 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 @@ -18239,10 +18239,10 @@ testcases68(suite) -> []. %% 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 @@ -18252,10 +18252,10 @@ testcases68(suite) -> []. %% 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 @@ -18265,10 +18265,10 @@ testcases68(suite) -> []. %% 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 @@ -18278,10 +18278,10 @@ testcases68(suite) -> []. %% 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 @@ -18291,10 +18291,10 @@ testcases68(suite) -> []. %% 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 @@ -18304,10 +18304,10 @@ testcases68(suite) -> []. %% 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 @@ -18317,10 +18317,10 @@ testcases68(suite) -> []. %% 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 @@ -18330,10 +18330,10 @@ testcases68(suite) -> []. %% 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 @@ -18343,10 +18343,10 @@ testcases68(suite) -> []. %% 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 @@ -18356,10 +18356,10 @@ testcases68(suite) -> []. %% 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 @@ -18369,10 +18369,10 @@ testcases68(suite) -> []. %% 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 @@ -18382,10 +18382,10 @@ testcases68(suite) -> []. %% 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 @@ -18395,10 +18395,10 @@ testcases68(suite) -> []. %% 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 @@ -18408,10 +18408,10 @@ testcases68(suite) -> []. %% 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 @@ -18421,10 +18421,10 @@ testcases68(suite) -> []. %% 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 @@ -18434,10 +18434,10 @@ testcases68(suite) -> []. %% 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 @@ -18447,10 +18447,10 @@ testcases68(suite) -> []. %% 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 @@ -18460,10 +18460,10 @@ testcases68(suite) -> []. %% 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 @@ -18473,10 +18473,10 @@ testcases68(suite) -> []. %% 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 @@ -18486,10 +18486,10 @@ testcases68(suite) -> []. %% 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 @@ -18499,10 +18499,10 @@ testcases68(suite) -> []. %% 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 @@ -18512,10 +18512,10 @@ testcases68(suite) -> []. %% 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 @@ -18525,10 +18525,10 @@ testcases68(suite) -> []. %% 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 @@ -18538,10 +18538,10 @@ testcases68(suite) -> []. %% 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 @@ -18551,10 +18551,10 @@ testcases68(suite) -> []. %% 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 @@ -18564,10 +18564,10 @@ testcases68(suite) -> []. %% 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 @@ -18577,10 +18577,10 @@ testcases68(suite) -> []. %% 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 @@ -18590,10 +18590,10 @@ testcases68(suite) -> []. %% 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 @@ -18603,10 +18603,10 @@ testcases68(suite) -> []. %% 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 @@ -18616,10 +18616,10 @@ testcases68(suite) -> []. %% 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 @@ -18629,10 +18629,10 @@ testcases68(suite) -> []. %% 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 @@ -18642,10 +18642,10 @@ testcases68(suite) -> []. %% 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 @@ -18655,10 +18655,10 @@ testcases68(suite) -> []. %% 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 @@ -18668,10 +18668,10 @@ testcases68(suite) -> []. %% 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 @@ -18681,10 +18681,10 @@ testcases68(suite) -> []. %% 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 @@ -18694,10 +18694,10 @@ testcases68(suite) -> []. %% 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 @@ -18707,10 +18707,10 @@ testcases68(suite) -> []. %% 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 @@ -18720,10 +18720,10 @@ testcases68(suite) -> []. %% 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 @@ -18733,10 +18733,10 @@ testcases68(suite) -> []. %% 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 @@ -18746,10 +18746,10 @@ testcases68(suite) -> []. %% 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 @@ -18759,10 +18759,10 @@ testcases68(suite) -> []. %% 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 @@ -18772,10 +18772,10 @@ testcases68(suite) -> []. %% 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 @@ -18785,10 +18785,10 @@ testcases68(suite) -> []. %% 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 @@ -18798,10 +18798,10 @@ testcases68(suite) -> []. %% 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 @@ -18811,10 +18811,10 @@ testcases68(suite) -> []. %% 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 @@ -18824,10 +18824,10 @@ testcases68(suite) -> []. %% 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 @@ -18837,10 +18837,10 @@ testcases68(suite) -> []. %% 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 @@ -18850,10 +18850,10 @@ testcases68(suite) -> []. %% 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 @@ -18863,10 +18863,10 @@ testcases68(suite) -> []. %% 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 @@ -18876,10 +18876,10 @@ testcases68(suite) -> []. %% 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 @@ -18889,10 +18889,10 @@ testcases68(suite) -> []. %% 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 @@ -18902,10 +18902,10 @@ testcases68(suite) -> []. %% 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 @@ -18915,10 +18915,10 @@ testcases68(suite) -> []. %% 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 @@ -18928,10 +18928,10 @@ testcases68(suite) -> []. %% 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 @@ -18941,10 +18941,10 @@ testcases68(suite) -> []. %% 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 @@ -18954,10 +18954,10 @@ testcases68(suite) -> []. %% 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 @@ -18967,10 +18967,10 @@ testcases68(suite) -> []. %% 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 @@ -18980,10 +18980,10 @@ testcases68(suite) -> []. %% 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 @@ -18993,10 +18993,10 @@ testcases68(suite) -> []. %% 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 @@ -19006,10 +19006,10 @@ testcases68(suite) -> []. %% 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 @@ -19019,10 +19019,10 @@ testcases68(suite) -> []. %% 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 @@ -19032,10 +19032,10 @@ testcases68(suite) -> []. %% 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 @@ -19045,10 +19045,10 @@ testcases68(suite) -> []. %% 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 @@ -19058,10 +19058,10 @@ testcases68(suite) -> []. %% 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 @@ -19071,10 +19071,10 @@ testcases68(suite) -> []. %% 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 @@ -19084,10 +19084,10 @@ testcases68(suite) -> []. %% 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 @@ -19097,10 +19097,10 @@ testcases68(suite) -> []. %% 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 @@ -19110,10 +19110,10 @@ testcases68(suite) -> []. %% 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 @@ -19123,10 +19123,10 @@ testcases68(suite) -> []. %% 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 @@ -19136,10 +19136,10 @@ testcases68(suite) -> []. %% 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 @@ -19149,10 +19149,10 @@ testcases68(suite) -> []. %% 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 @@ -19162,10 +19162,10 @@ testcases68(suite) -> []. %% 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 @@ -19175,10 +19175,10 @@ testcases68(suite) -> []. %% 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 @@ -19188,10 +19188,10 @@ testcases68(suite) -> []. %% 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 @@ -19201,10 +19201,10 @@ testcases68(suite) -> []. %% 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 @@ -19214,10 +19214,10 @@ testcases68(suite) -> []. %% 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 @@ -19227,10 +19227,10 @@ testcases68(suite) -> []. %% 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 @@ -19240,10 +19240,10 @@ testcases68(suite) -> []. %% 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 @@ -19253,10 +19253,10 @@ testcases68(suite) -> []. %% 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 @@ -19266,10 +19266,10 @@ testcases68(suite) -> []. %% 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 @@ -19279,10 +19279,10 @@ testcases68(suite) -> []. %% 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 @@ -19292,10 +19292,10 @@ testcases68(suite) -> []. %% 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 @@ -19305,10 +19305,10 @@ testcases68(suite) -> []. %% 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 @@ -19318,10 +19318,10 @@ testcases68(suite) -> []. %% 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 @@ -19331,10 +19331,10 @@ testcases68(suite) -> []. %% 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 @@ -19344,10 +19344,10 @@ testcases68(suite) -> []. %% 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 @@ -19357,10 +19357,10 @@ testcases68(suite) -> []. %% 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 @@ -19370,10 +19370,10 @@ testcases68(suite) -> []. %% 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 @@ -19383,10 +19383,10 @@ testcases68(suite) -> []. %% 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 @@ -19396,10 +19396,10 @@ testcases68(suite) -> []. %% 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 @@ -19409,10 +19409,10 @@ testcases68(suite) -> []. %% 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 @@ -19422,10 +19422,10 @@ testcases68(suite) -> []. %% 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 @@ -19435,10 +19435,10 @@ testcases68(suite) -> []. %% 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 @@ -19448,10 +19448,10 @@ testcases68(suite) -> []. %% 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 @@ -19461,10 +19461,10 @@ testcases68(suite) -> []. %% 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 @@ -19474,10 +19474,10 @@ testcases68(suite) -> []. %% 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 @@ -19487,10 +19487,10 @@ testcases68(suite) -> []. %% 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 @@ -19500,10 +19500,10 @@ testcases68(suite) -> []. %% 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 @@ -19513,10 +19513,10 @@ testcases68(suite) -> []. %% 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 @@ -19526,10 +19526,10 @@ testcases68(suite) -> []. %% 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 @@ -19539,10 +19539,10 @@ testcases68(suite) -> []. %% 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 @@ -19552,10 +19552,10 @@ testcases68(suite) -> []. %% 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 @@ -19565,10 +19565,10 @@ testcases68(suite) -> []. %% 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 @@ -19578,10 +19578,10 @@ testcases68(suite) -> []. %% 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 @@ -19591,10 +19591,10 @@ testcases68(suite) -> []. %% 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 @@ -19604,10 +19604,10 @@ testcases68(suite) -> []. %% 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 @@ -19617,10 +19617,10 @@ testcases68(suite) -> []. %% 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 @@ -19630,10 +19630,10 @@ testcases68(suite) -> []. %% 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 @@ -19643,10 +19643,10 @@ testcases68(suite) -> []. %% 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 @@ -19656,10 +19656,10 @@ testcases68(suite) -> []. %% 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 @@ -19669,10 +19669,10 @@ testcases68(suite) -> []. %% 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 @@ -19682,10 +19682,10 @@ testcases68(suite) -> []. %% 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 @@ -19695,10 +19695,10 @@ testcases68(suite) -> []. %% 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 @@ -19708,10 +19708,10 @@ testcases68(suite) -> []. %% 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 @@ -19721,10 +19721,10 @@ testcases68(suite) -> []. %% 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 @@ -19734,10 +19734,10 @@ testcases68(suite) -> []. %% 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 @@ -19747,10 +19747,10 @@ testcases68(suite) -> []. %% 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 @@ -19760,10 +19760,10 @@ testcases68(suite) -> []. %% 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 @@ -19773,10 +19773,10 @@ testcases68(suite) -> []. %% 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 @@ -19786,10 +19786,10 @@ testcases68(suite) -> []. %% 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 @@ -19799,10 +19799,10 @@ testcases68(suite) -> []. %% 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 @@ -19812,10 +19812,10 @@ testcases68(suite) -> []. %% 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 @@ -19825,10 +19825,10 @@ testcases68(suite) -> []. %% 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 @@ -19838,10 +19838,10 @@ testcases68(suite) -> []. %% 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 @@ -19851,10 +19851,10 @@ testcases68(suite) -> []. %% 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 @@ -19864,10 +19864,10 @@ testcases68(suite) -> []. %% 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 @@ -19877,10 +19877,10 @@ testcases68(suite) -> []. %% 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 @@ -19890,10 +19890,10 @@ testcases68(suite) -> []. %% 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 @@ -19903,10 +19903,10 @@ testcases68(suite) -> []. %% 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 @@ -19916,10 +19916,10 @@ testcases68(suite) -> []. %% 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 @@ -19929,10 +19929,10 @@ testcases68(suite) -> []. %% 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 @@ -19942,10 +19942,10 @@ testcases68(suite) -> []. %% 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 @@ -19955,10 +19955,10 @@ testcases68(suite) -> []. %% 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 @@ -19968,10 +19968,10 @@ testcases68(suite) -> []. %% 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 @@ -19981,10 +19981,10 @@ testcases68(suite) -> []. %% 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 @@ -19994,10 +19994,10 @@ testcases68(suite) -> []. %% 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 @@ -20007,10 +20007,10 @@ testcases68(suite) -> []. %% 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 @@ -20020,10 +20020,10 @@ testcases68(suite) -> []. %% 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 @@ -20033,10 +20033,10 @@ testcases68(suite) -> []. %% 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 @@ -20046,10 +20046,10 @@ testcases68(suite) -> []. %% 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 @@ -20059,10 +20059,10 @@ testcases68(suite) -> []. %% 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 @@ -20072,10 +20072,10 @@ testcases68(suite) -> []. %% 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 @@ -20085,10 +20085,10 @@ testcases68(suite) -> []. %% 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 @@ -20098,10 +20098,10 @@ testcases68(suite) -> []. %% 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 @@ -20111,10 +20111,10 @@ testcases68(suite) -> []. %% 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 @@ -20124,10 +20124,10 @@ testcases68(suite) -> []. %% 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 @@ -20137,10 +20137,10 @@ testcases68(suite) -> []. %% 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 @@ -20150,10 +20150,10 @@ testcases68(suite) -> []. %% 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 @@ -20163,10 +20163,10 @@ testcases68(suite) -> []. %% 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 @@ -20176,10 +20176,10 @@ testcases68(suite) -> []. %% 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 @@ -20189,10 +20189,10 @@ testcases68(suite) -> []. %% 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 @@ -20202,10 +20202,10 @@ testcases68(suite) -> []. %% 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 @@ -20215,10 +20215,10 @@ testcases68(suite) -> []. %% 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 @@ -20228,10 +20228,10 @@ testcases68(suite) -> []. %% 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 @@ -20241,10 +20241,10 @@ testcases68(suite) -> []. %% 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 @@ -20254,10 +20254,10 @@ testcases68(suite) -> []. %% 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 @@ -20267,10 +20267,10 @@ testcases68(suite) -> []. %% 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 @@ -20280,10 +20280,10 @@ testcases68(suite) -> []. %% 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 @@ -20293,10 +20293,10 @@ testcases68(suite) -> []. %% 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 @@ -20306,10 +20306,10 @@ testcases68(suite) -> []. %% 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 @@ -20319,10 +20319,10 @@ testcases68(suite) -> []. %% 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 @@ -20332,10 +20332,10 @@ testcases68(suite) -> []. %% 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 @@ -20345,10 +20345,10 @@ testcases68(suite) -> []. %% 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 @@ -20358,10 +20358,10 @@ testcases68(suite) -> []. %% 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 @@ -20371,10 +20371,10 @@ testcases68(suite) -> []. %% 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 @@ -20384,10 +20384,10 @@ testcases68(suite) -> []. %% 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 @@ -20397,10 +20397,10 @@ testcases68(suite) -> []. %% 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 @@ -20410,10 +20410,10 @@ testcases68(suite) -> []. %% 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 @@ -20423,10 +20423,10 @@ testcases68(suite) -> []. %% 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 @@ -20436,10 +20436,10 @@ testcases68(suite) -> []. %% 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 @@ -20449,10 +20449,10 @@ testcases68(suite) -> []. %% 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 @@ -20462,10 +20462,10 @@ testcases68(suite) -> []. %% 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 @@ -20475,10 +20475,10 @@ testcases68(suite) -> []. %% 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 @@ -20488,10 +20488,10 @@ testcases68(suite) -> []. %% 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 @@ -20501,10 +20501,10 @@ testcases68(suite) -> []. %% 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 @@ -20514,10 +20514,10 @@ testcases68(suite) -> []. %% 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 @@ -20527,10 +20527,10 @@ testcases68(suite) -> []. %% 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 @@ -20540,10 +20540,10 @@ testcases68(suite) -> []. %% 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 @@ -20553,10 +20553,10 @@ testcases68(suite) -> []. %% 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 @@ -20566,10 +20566,10 @@ testcases68(suite) -> []. %% 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 @@ -20579,10 +20579,10 @@ testcases68(suite) -> []. %% 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 @@ -20592,10 +20592,10 @@ testcases68(suite) -> []. %% 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 @@ -20605,10 +20605,10 @@ testcases68(suite) -> []. %% 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 @@ -20618,10 +20618,10 @@ testcases68(suite) -> []. %% 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 @@ -20631,10 +20631,10 @@ testcases68(suite) -> []. %% 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 @@ -20644,10 +20644,10 @@ testcases68(suite) -> []. %% 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 @@ -20657,10 +20657,10 @@ testcases68(suite) -> []. %% 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 @@ -20670,10 +20670,10 @@ testcases68(suite) -> []. %% 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 @@ -20683,10 +20683,10 @@ testcases68(suite) -> []. %% 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 @@ -20696,10 +20696,10 @@ testcases68(suite) -> []. %% 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 @@ -20709,10 +20709,10 @@ testcases68(suite) -> []. %% 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 @@ -20722,10 +20722,10 @@ testcases68(suite) -> []. %% 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 @@ -20740,10 +20740,10 @@ testcases68(suite) -> []. %% 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 @@ -20753,10 +20753,10 @@ testcases68(suite) -> []. %% 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 @@ -20766,10 +20766,10 @@ testcases68(suite) -> []. %% 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 @@ -20779,10 +20779,10 @@ testcases68(suite) -> []. %% 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 @@ -20797,10 +20797,10 @@ testcases68(suite) -> []. %% 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 @@ -20810,10 +20810,10 @@ testcases68(suite) -> []. %% 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 @@ -20823,10 +20823,10 @@ testcases68(suite) -> []. %% 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 @@ -20836,10 +20836,10 @@ testcases68(suite) -> []. %% 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 @@ -20849,10 +20849,10 @@ testcases68(suite) -> []. %% 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 @@ -20862,10 +20862,10 @@ testcases68(suite) -> []. %% 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 @@ -20875,10 +20875,10 @@ testcases68(suite) -> []. %% 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 @@ -20888,10 +20888,10 @@ testcases68(suite) -> []. %% 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 @@ -20901,10 +20901,10 @@ testcases68(suite) -> []. %% 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 @@ -20914,10 +20914,10 @@ testcases68(suite) -> []. %% 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 @@ -20927,10 +20927,10 @@ testcases68(suite) -> []. %% 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 @@ -20940,10 +20940,10 @@ testcases68(suite) -> []. %% 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 @@ -20953,10 +20953,10 @@ testcases68(suite) -> []. %% 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 @@ -20966,10 +20966,10 @@ testcases68(suite) -> []. %% 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 @@ -20979,10 +20979,10 @@ testcases68(suite) -> []. %% 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 @@ -20992,10 +20992,10 @@ testcases68(suite) -> []. %% 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 @@ -21005,10 +21005,10 @@ testcases68(suite) -> []. %% 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 @@ -21018,10 +21018,10 @@ testcases68(suite) -> []. %% 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 @@ -21031,10 +21031,10 @@ testcases68(suite) -> []. %% 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 @@ -21044,10 +21044,10 @@ testcases68(suite) -> []. %% 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 @@ -21057,10 +21057,10 @@ testcases68(suite) -> []. %% 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 @@ -21070,10 +21070,10 @@ testcases68(suite) -> []. %% 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 @@ -21083,10 +21083,10 @@ testcases68(suite) -> []. %% 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 @@ -21096,10 +21096,10 @@ testcases68(suite) -> []. %% 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 @@ -21109,10 +21109,10 @@ testcases68(suite) -> []. %% 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 @@ -21122,10 +21122,10 @@ testcases68(suite) -> []. %% 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 @@ -21135,10 +21135,10 @@ testcases68(suite) -> []. %% 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 @@ -21148,10 +21148,10 @@ testcases68(suite) -> []. %% 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 @@ -21161,10 +21161,10 @@ testcases68(suite) -> []. %% 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 @@ -21174,10 +21174,10 @@ testcases68(suite) -> []. %% 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 @@ -21187,10 +21187,10 @@ testcases68(suite) -> []. %% 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 @@ -21200,10 +21200,10 @@ testcases68(suite) -> []. %% 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 @@ -21213,10 +21213,10 @@ testcases68(suite) -> []. %% 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 @@ -21226,10 +21226,10 @@ testcases68(suite) -> []. %% 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 @@ -21239,10 +21239,10 @@ testcases68(suite) -> []. %% 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 @@ -21252,10 +21252,10 @@ testcases68(suite) -> []. %% 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 @@ -21265,10 +21265,10 @@ testcases68(suite) -> []. %% 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 @@ -21278,10 +21278,10 @@ testcases68(suite) -> []. %% 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 @@ -21291,10 +21291,10 @@ testcases68(suite) -> []. %% 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 @@ -21304,10 +21304,10 @@ testcases68(suite) -> []. %% 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 @@ -21317,10 +21317,10 @@ testcases68(suite) -> []. %% 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 @@ -21330,10 +21330,10 @@ testcases68(suite) -> []. %% 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 @@ -21343,10 +21343,10 @@ testcases68(suite) -> []. %% 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 @@ -21356,10 +21356,10 @@ testcases68(suite) -> []. %% 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 @@ -21369,10 +21369,10 @@ testcases68(suite) -> []. %% 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 @@ -21382,10 +21382,10 @@ testcases68(suite) -> []. %% 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 @@ -21395,10 +21395,10 @@ testcases68(suite) -> []. %% 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 @@ -21408,10 +21408,10 @@ testcases68(suite) -> []. %% 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 @@ -21421,10 +21421,10 @@ testcases68(suite) -> []. %% 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 @@ -21434,10 +21434,10 @@ testcases68(suite) -> []. %% 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 @@ -21447,10 +21447,10 @@ testcases68(suite) -> []. %% 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 @@ -21460,10 +21460,10 @@ testcases68(suite) -> []. %% 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 @@ -21473,10 +21473,10 @@ testcases68(suite) -> []. %% 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 @@ -21486,10 +21486,10 @@ testcases68(suite) -> []. %% 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 @@ -21499,10 +21499,10 @@ testcases68(suite) -> []. %% 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 @@ -21512,10 +21512,10 @@ testcases68(suite) -> []. %% 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 @@ -21525,10 +21525,10 @@ testcases68(suite) -> []. %% 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 @@ -21538,10 +21538,10 @@ testcases68(suite) -> []. %% 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 @@ -21551,10 +21551,10 @@ testcases68(suite) -> []. %% 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 @@ -21564,10 +21564,10 @@ testcases68(suite) -> []. %% 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 @@ -21577,10 +21577,10 @@ testcases68(suite) -> []. %% 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 @@ -21590,10 +21590,10 @@ testcases68(suite) -> []. %% 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 @@ -21603,10 +21603,10 @@ testcases68(suite) -> []. %% 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 @@ -21616,10 +21616,10 @@ testcases68(suite) -> []. %% 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 @@ -21629,10 +21629,10 @@ testcases68(suite) -> []. %% 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 @@ -21642,10 +21642,10 @@ testcases68(suite) -> []. %% 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 @@ -21655,10 +21655,10 @@ testcases68(suite) -> []. %% 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 @@ -21668,10 +21668,10 @@ testcases68(suite) -> []. %% 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 @@ -21681,10 +21681,10 @@ testcases68(suite) -> []. %% 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 @@ -21694,10 +21694,10 @@ testcases68(suite) -> []. %% 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 @@ -21707,10 +21707,10 @@ testcases68(suite) -> []. %% 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 @@ -21720,10 +21720,10 @@ testcases68(suite) -> []. %% 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 @@ -21733,10 +21733,10 @@ testcases68(suite) -> []. %% 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 @@ -21746,10 +21746,10 @@ testcases68(suite) -> []. %% 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 @@ -21759,10 +21759,10 @@ testcases68(suite) -> []. %% 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 @@ -21772,10 +21772,10 @@ testcases68(suite) -> []. %% 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 @@ -21785,10 +21785,10 @@ testcases68(suite) -> []. %% 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 @@ -21798,10 +21798,10 @@ testcases68(suite) -> []. %% 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 @@ -21811,10 +21811,10 @@ testcases68(suite) -> []. %% 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 @@ -21824,10 +21824,10 @@ testcases68(suite) -> []. %% 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 @@ -21837,10 +21837,10 @@ testcases68(suite) -> []. %% 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 @@ -21850,10 +21850,10 @@ testcases68(suite) -> []. %% 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 @@ -21863,10 +21863,10 @@ testcases68(suite) -> []. %% 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 @@ -21876,10 +21876,10 @@ testcases68(suite) -> []. %% 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 @@ -21894,10 +21894,10 @@ testcases68(suite) -> []. %% 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 @@ -21907,10 +21907,10 @@ testcases68(suite) -> []. %% 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 @@ -21920,10 +21920,10 @@ testcases68(suite) -> []. %% 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 @@ -21933,10 +21933,10 @@ testcases68(suite) -> []. %% 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 @@ -21946,10 +21946,10 @@ testcases68(suite) -> []. %% 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 @@ -21959,10 +21959,10 @@ testcases68(suite) -> []. %% 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 @@ -21972,10 +21972,10 @@ testcases68(suite) -> []. %% 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 @@ -21985,10 +21985,10 @@ testcases68(suite) -> []. %% 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 @@ -21998,10 +21998,10 @@ testcases68(suite) -> []. %% 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 @@ -22011,10 +22011,10 @@ testcases68(suite) -> []. %% 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 @@ -22024,10 +22024,10 @@ testcases68(suite) -> []. %% 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 @@ -22037,10 +22037,10 @@ testcases68(suite) -> []. %% 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 @@ -22050,10 +22050,10 @@ testcases68(suite) -> []. %% 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 @@ -22063,10 +22063,10 @@ testcases68(suite) -> []. %% 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 @@ -22076,10 +22076,10 @@ testcases68(suite) -> []. %% 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 @@ -22094,10 +22094,10 @@ testcases68(suite) -> []. %% 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 @@ -22107,10 +22107,10 @@ testcases68(suite) -> []. %% 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 @@ -22120,10 +22120,10 @@ testcases68(suite) -> []. %% 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 @@ -22133,10 +22133,10 @@ testcases68(suite) -> []. %% 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 @@ -22146,10 +22146,10 @@ testcases68(suite) -> []. %% 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 @@ -22159,10 +22159,10 @@ testcases68(suite) -> []. %% 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 @@ -22172,10 +22172,10 @@ testcases68(suite) -> []. %% 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 @@ -22185,10 +22185,10 @@ testcases68(suite) -> []. %% 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 @@ -22198,10 +22198,10 @@ testcases68(suite) -> []. %% 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 @@ -22211,10 +22211,10 @@ testcases68(suite) -> []. %% 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 @@ -22224,10 +22224,10 @@ testcases68(suite) -> []. %% 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 @@ -22237,10 +22237,10 @@ testcases68(suite) -> []. %% 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 @@ -22260,10 +22260,10 @@ testcases68(suite) -> []. %% 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 @@ -22278,10 +22278,10 @@ testcases68(suite) -> []. %% 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 @@ -22296,10 +22296,10 @@ testcases68(suite) -> []. %% 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 @@ -22314,10 +22314,10 @@ testcases68(suite) -> []. %% 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 @@ -22327,10 +22327,10 @@ testcases68(suite) -> []. %% 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 @@ -22340,10 +22340,10 @@ testcases68(suite) -> []. %% 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 @@ -22353,10 +22353,10 @@ testcases68(suite) -> []. %% 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 @@ -22366,10 +22366,10 @@ testcases68(suite) -> []. %% 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 @@ -22384,10 +22384,10 @@ testcases68(suite) -> []. %% 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 @@ -22397,10 +22397,10 @@ testcases68(suite) -> []. %% 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 @@ -22410,10 +22410,10 @@ testcases68(suite) -> []. %% 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 @@ -22423,10 +22423,10 @@ testcases68(suite) -> []. %% 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 @@ -22436,10 +22436,10 @@ testcases68(suite) -> []. %% 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 @@ -22449,10 +22449,10 @@ testcases68(suite) -> []. %% 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 @@ -22462,10 +22462,10 @@ testcases68(suite) -> []. %% 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 @@ -22475,10 +22475,10 @@ testcases68(suite) -> []. %% 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 @@ -22493,10 +22493,10 @@ testcases68(suite) -> []. %% 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 @@ -22506,10 +22506,10 @@ testcases68(suite) -> []. %% 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 @@ -22519,10 +22519,10 @@ testcases68(suite) -> []. %% 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 @@ -22532,10 +22532,10 @@ testcases68(suite) -> []. %% 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 @@ -22550,10 +22550,10 @@ testcases68(suite) -> []. %% 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 @@ -22563,10 +22563,10 @@ testcases68(suite) -> []. %% 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 @@ -22576,10 +22576,10 @@ testcases68(suite) -> []. %% 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 @@ -22589,10 +22589,10 @@ testcases68(suite) -> []. %% 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 @@ -22609,10 +22609,10 @@ testcases111(suite) -> []. %% 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 @@ -22629,10 +22629,10 @@ testcases112(suite) -> []. %% 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 @@ -22642,10 +22642,10 @@ testcases112(suite) -> []. %% 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 @@ -22655,10 +22655,10 @@ testcases112(suite) -> []. %% 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 @@ -22673,10 +22673,10 @@ testcases112(suite) -> []. %% 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 @@ -22686,10 +22686,10 @@ testcases112(suite) -> []. %% 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 @@ -22699,10 +22699,10 @@ testcases112(suite) -> []. %% 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 @@ -22712,10 +22712,10 @@ testcases112(suite) -> []. %% 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 @@ -22730,10 +22730,10 @@ testcases112(suite) -> []. %% 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 @@ -22743,10 +22743,10 @@ testcases112(suite) -> []. %% 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 @@ -22756,10 +22756,10 @@ testcases112(suite) -> []. %% 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 @@ -22774,10 +22774,10 @@ testcases112(suite) -> []. %% 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 @@ -22792,10 +22792,10 @@ testcases112(suite) -> []. %% 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 @@ -22810,10 +22810,10 @@ testcases112(suite) -> []. %% 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 @@ -22828,10 +22828,10 @@ testcases112(suite) -> []. %% 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 @@ -22841,10 +22841,10 @@ testcases112(suite) -> []. %% 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 @@ -22859,10 +22859,10 @@ testcases112(suite) -> []. %% 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 @@ -22877,10 +22877,10 @@ testcases112(suite) -> []. %% 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 @@ -22890,10 +22890,10 @@ testcases112(suite) -> []. %% 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 @@ -22903,10 +22903,10 @@ testcases112(suite) -> []. %% 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 @@ -22916,10 +22916,10 @@ testcases112(suite) -> []. %% 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 @@ -22929,10 +22929,10 @@ testcases112(suite) -> []. %% 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 @@ -22942,10 +22942,10 @@ testcases112(suite) -> []. %% 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 @@ -22955,10 +22955,10 @@ testcases112(suite) -> []. %% 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 @@ -22973,10 +22973,10 @@ testcases112(suite) -> []. %% 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 @@ -22986,10 +22986,10 @@ testcases112(suite) -> []. %% 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 @@ -22999,10 +22999,10 @@ testcases112(suite) -> []. %% 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 @@ -23012,10 +23012,10 @@ testcases112(suite) -> []. %% 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 @@ -23025,10 +23025,10 @@ testcases112(suite) -> []. %% 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 @@ -23038,10 +23038,10 @@ testcases112(suite) -> []. %% 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 @@ -23056,10 +23056,10 @@ testcases112(suite) -> []. %% 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 @@ -23069,10 +23069,10 @@ testcases112(suite) -> []. %% 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 @@ -23087,10 +23087,10 @@ testcases112(suite) -> []. %% 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 @@ -23100,10 +23100,10 @@ testcases112(suite) -> []. %% 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 @@ -23113,10 +23113,10 @@ testcases112(suite) -> []. %% 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 @@ -23126,10 +23126,10 @@ testcases112(suite) -> []. %% 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 @@ -23144,10 +23144,10 @@ testcases112(suite) -> []. %% 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 @@ -23162,10 +23162,10 @@ testcases112(suite) -> []. %% 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 @@ -23175,10 +23175,10 @@ testcases112(suite) -> []. %% 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 @@ -23188,10 +23188,10 @@ testcases112(suite) -> []. %% 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 @@ -23206,10 +23206,10 @@ testcases112(suite) -> []. %% 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 @@ -23219,10 +23219,10 @@ testcases112(suite) -> []. %% 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 @@ -23237,10 +23237,10 @@ testcases112(suite) -> []. %% 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 @@ -23250,10 +23250,10 @@ testcases112(suite) -> []. %% 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 @@ -23268,10 +23268,10 @@ testcases112(suite) -> []. %% 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 @@ -23281,10 +23281,10 @@ testcases112(suite) -> []. %% 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 @@ -23299,10 +23299,10 @@ testcases112(suite) -> []. %% 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 @@ -23319,10 +23319,10 @@ testcases130(suite) -> []. %% 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 @@ -23332,10 +23332,10 @@ testcases130(suite) -> []. %% 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 @@ -23345,10 +23345,10 @@ testcases130(suite) -> []. %% 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 @@ -23358,10 +23358,10 @@ testcases130(suite) -> []. %% 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 @@ -23376,10 +23376,10 @@ testcases130(suite) -> []. %% 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 @@ -23394,10 +23394,10 @@ testcases130(suite) -> []. %% 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 @@ -23412,10 +23412,10 @@ testcases130(suite) -> []. %% 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 @@ -23430,10 +23430,10 @@ testcases130(suite) -> []. %% 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 @@ -23448,10 +23448,10 @@ testcases130(suite) -> []. %% 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 @@ -23466,10 +23466,10 @@ testcases130(suite) -> []. %% 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 @@ -23484,10 +23484,10 @@ testcases130(suite) -> []. %% 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 @@ -23502,10 +23502,10 @@ testcases130(suite) -> []. %% 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 @@ -23520,10 +23520,10 @@ testcases130(suite) -> []. %% 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 @@ -23538,10 +23538,10 @@ testcases130(suite) -> []. %% 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 @@ -23556,10 +23556,10 @@ testcases130(suite) -> []. %% 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 @@ -23574,10 +23574,10 @@ testcases130(suite) -> []. %% 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 @@ -23592,10 +23592,10 @@ testcases130(suite) -> []. %% 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 @@ -23610,10 +23610,10 @@ testcases130(suite) -> []. %% 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 @@ -23628,10 +23628,10 @@ testcases130(suite) -> []. %% 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 @@ -23646,10 +23646,10 @@ testcases130(suite) -> []. %% 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 @@ -23664,10 +23664,10 @@ testcases130(suite) -> []. %% 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 @@ -23677,10 +23677,10 @@ testcases130(suite) -> []. %% 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 @@ -23695,10 +23695,10 @@ testcases130(suite) -> []. %% 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 @@ -23713,10 +23713,10 @@ testcases130(suite) -> []. %% 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 @@ -23726,10 +23726,10 @@ testcases130(suite) -> []. %% 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 @@ -23739,10 +23739,10 @@ testcases130(suite) -> []. %% 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 @@ -23757,10 +23757,10 @@ testcases130(suite) -> []. %% 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 @@ -23775,10 +23775,10 @@ testcases130(suite) -> []. %% 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 @@ -23788,10 +23788,10 @@ testcases130(suite) -> []. %% 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 @@ -23801,10 +23801,10 @@ testcases130(suite) -> []. %% 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 @@ -23814,10 +23814,10 @@ testcases130(suite) -> []. %% 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 @@ -23827,10 +23827,10 @@ testcases130(suite) -> []. %% 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 @@ -23840,10 +23840,10 @@ testcases130(suite) -> []. %% 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 @@ -23853,10 +23853,10 @@ testcases130(suite) -> []. %% 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 @@ -23866,10 +23866,10 @@ testcases130(suite) -> []. %% 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 @@ -23879,10 +23879,10 @@ testcases130(suite) -> []. %% 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 @@ -23892,10 +23892,10 @@ testcases130(suite) -> []. %% 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 @@ -23910,10 +23910,10 @@ testcases130(suite) -> []. %% 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 @@ -23928,10 +23928,10 @@ testcases130(suite) -> []. %% 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 @@ -23941,10 +23941,10 @@ testcases130(suite) -> []. %% 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 @@ -23959,10 +23959,10 @@ testcases130(suite) -> []. %% 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 @@ -23972,10 +23972,10 @@ testcases130(suite) -> []. %% 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 @@ -23990,10 +23990,10 @@ testcases130(suite) -> []. %% 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 @@ -24003,10 +24003,10 @@ testcases130(suite) -> []. %% 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 @@ -24016,10 +24016,10 @@ testcases130(suite) -> []. %% 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 @@ -24029,10 +24029,10 @@ testcases130(suite) -> []. %% 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 @@ -24047,10 +24047,10 @@ testcases130(suite) -> []. %% 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 @@ -24060,10 +24060,10 @@ testcases130(suite) -> []. %% 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 @@ -24080,10 +24080,10 @@ testcases157(suite) -> []. %% 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 @@ -24093,10 +24093,10 @@ testcases157(suite) -> []. %% 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 @@ -24106,10 +24106,10 @@ testcases157(suite) -> []. %% 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 @@ -24119,10 +24119,10 @@ testcases157(suite) -> []. %% 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 @@ -24132,10 +24132,10 @@ testcases157(suite) -> []. %% 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 @@ -24152,10 +24152,10 @@ testcases158(suite) -> []. %% 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 @@ -24165,10 +24165,10 @@ testcases158(suite) -> []. %% 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 @@ -24178,10 +24178,10 @@ testcases158(suite) -> []. %% 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 @@ -24191,10 +24191,10 @@ testcases158(suite) -> []. %% 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 @@ -24204,10 +24204,10 @@ testcases158(suite) -> []. %% 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 @@ -24224,10 +24224,10 @@ testcases159(suite) -> []. %% 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 @@ -24237,10 +24237,10 @@ testcases159(suite) -> []. %% 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 @@ -24250,10 +24250,10 @@ testcases159(suite) -> []. %% 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 @@ -24270,10 +24270,10 @@ testcases160(suite) -> []. %% 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 @@ -24283,10 +24283,10 @@ testcases160(suite) -> []. %% 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 @@ -24303,10 +24303,10 @@ testcases161(suite) -> []. %% 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 @@ -24321,10 +24321,10 @@ testcases161(suite) -> []. %% 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 @@ -24339,10 +24339,10 @@ testcases161(suite) -> []. %% 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 @@ -24352,10 +24352,10 @@ testcases161(suite) -> []. %% 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 @@ -24370,10 +24370,10 @@ testcases161(suite) -> []. %% 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 @@ -24383,10 +24383,10 @@ testcases161(suite) -> []. %% 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 @@ -24401,10 +24401,10 @@ testcases161(suite) -> []. %% 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 @@ -24419,10 +24419,10 @@ testcases161(suite) -> []. %% 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 @@ -24439,10 +24439,10 @@ testcases167(suite) -> []. %% 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 @@ -24457,10 +24457,10 @@ testcases167(suite) -> []. %% 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 @@ -24475,10 +24475,10 @@ testcases167(suite) -> []. %% 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 @@ -24495,10 +24495,10 @@ testcases170(suite) -> []. %% 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 @@ -24513,10 +24513,10 @@ testcases170(suite) -> []. %% 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 @@ -24531,10 +24531,10 @@ testcases170(suite) -> []. %% 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 @@ -24549,10 +24549,10 @@ testcases170(suite) -> []. %% 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 +25577,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 +25591,7 @@ rm_files([F|Fs]) -> true -> rm_f_(F); _ -> - ?line ok = file:delete(F) + ok = file:delete(F) end, rm_files(Fs). @@ -25599,11 +25599,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]) -> |