Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 16, 2007, 11:04:11 PM (18 years ago)
Author:
patrick
Message:

not checkinf for invalid xml files. runs again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc

    r10239 r10240  
    2929 */
    3030OIFData::OIFData()
    31 {}
     31{
     32  this->_root = NULL;
     33}
    3234
    3335
     
    3840OIFData::OIFData(const std::string& fileName)
    3941{
     42  this->_root = NULL;
     43
    4044  this->load(fileName);
    4145}
     
    4852void OIFData::load(const std::string& fileName)
    4953{
    50   //
     54  PRINTF(0)("loading %s as oif data\n", fileName.c_str());
    5155    if( fileName.empty())
    5256  {
     
    6064  {
    6165    // report an error
    62     PRINTF(3)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol());
     66    PRINTF(1)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol());
    6367    return;
    6468  }
Note: See TracChangeset for help on using the changeset viewer.