# | Line 30 | Line 30 | Bender::Bender() | |
---|---|---|
30 | ||
31 | XalanTransformer transformer; | |
32 | ||
33 | < | transformer.transform(path.c_str(), cout); |
33 | > | if (transformer.transform(path.c_str(), cout) != 0) |
34 | > | { |
35 | > | ifstream fin(path.c_str()); |
36 | > | string line; |
37 | > | |
38 | > | do |
39 | > | { |
40 | > | getline(fin, line); |
41 | > | |
42 | > | cout << line << "\n"; |
43 | > | } |
44 | > | while (fin.good()); |
45 | > | } |
46 | } | |
47 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |