xml.cpp
changeset 181 bd530b01f77f
parent 169 aa48c7b52549
child 200 451cab91e350
     1.1 --- a/xml.cpp	Tue Jan 24 15:09:48 2006 +0000
     1.2 +++ b/xml.cpp	Tue Jan 24 15:09:48 2006 +0000
     1.3 @@ -61,7 +61,7 @@
     1.4  				   "<h3>Map is newer than VYM</h3>"
     1.5  				   "<p>The map you are just trying to load was "
     1.6  				   "saved using vym " +atts.value("version")+". "
     1.7 -				   "The version of this vym is " __VYM_VERSION__
     1.8 +				   "The version of this vym is " __VYM_VERSION
     1.9  				   ". If you run into problems after pressing "
    1.10  				   "the ok-button below, updating vym should help.");
    1.11  
    1.12 @@ -387,7 +387,18 @@
    1.13      .arg( exception.message() )
    1.14      .arg( exception.lineNumber() )
    1.15      .arg( exception.columnNumber() );
    1.16 +	/* FIXME Testing only
    1.17 +	errorProt += exception.publicId ()+"\n";
    1.18 +	errorProt += exception.systemId()+"\n";
    1.19  
    1.20 +	// Try to read the bogus line
    1.21 +	int i=0;
    1.22 +	QString s;
    1.23 +	if (loadStringFromDisk (,s))
    1.24 +	{
    1.25 +		errorProt +=
    1.26 +	}
    1.27 +*/
    1.28      return QXmlDefaultHandler::fatalError( exception );
    1.29  }
    1.30