|
[Jsbsim-cvslogs] CVS: JSBSim/src/simgear/xml easyxml.cxx,1.2,1.3
From: Jon S. Berndt <jberndt@us...> - 2006-03-22 12:31
|
Update of /cvsroot/jsbsim/JSBSim/src/simgear/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29367/src/simgear/xml
Modified Files:
easyxml.cxx
Log Message:
Fixed XML parsing where tabs are present
Index: easyxml.cxx
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/src/simgear/xml/easyxml.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** easyxml.cxx 13 Jun 2005 00:54:47 -0000 1.2
--- easyxml.cxx 22 Mar 2006 12:31:12 -0000 1.3
***************
*** 249,252 ****
--- 249,253 ----
XML_ParserFree(parser);
cerr << "Problem reading input file" << endl;
+ abort();
}
***************
*** 255,258 ****
--- 256,260 ----
XML_ParserFree(parser);
cerr << "XML parse error: " << XML_ErrorString(XML_GetErrorCode(parser)) << endl;
+ abort();
}
***************
*** 263,266 ****
--- 265,269 ----
XML_ParserFree(parser);
cerr << "XML parse error: " << XML_ErrorString(XML_GetErrorCode(parser)) << endl;
+ abort();
}
***************
*** 279,285 ****
--- 282,290 ----
input.close();
cerr << "Failed to open file" << endl;
+ abort();
}
} else {
cerr << "Failed to open file" << endl;
+ abort();
}
input.close();
|
| Thread | Author | Date |
|---|---|---|
| [Jsbsim-cvslogs] CVS: JSBSim/src/simgear/xml easyxml.cxx,1.2,1.3 | Jon S. Berndt <jberndt@us...> |