xml.cpp
changeset 435 bd71dfb2292c
parent 421 5522d1da7e37
child 444 fb97757e06c0
     1.1 --- a/xml.cpp	Tue Jan 23 11:50:53 2007 +0000
     1.2 +++ b/xml.cpp	Wed Mar 21 11:51:38 2007 +0000
     1.3 @@ -23,6 +23,7 @@
     1.4  
     1.5  QString mapBuilderHandler::errorProtocol() { return errorProt; }
     1.6  
     1.7 +
     1.8  bool mapBuilderHandler::startDocument()
     1.9  {
    1.10      errorProt = "";
    1.11 @@ -52,10 +53,12 @@
    1.12  {
    1.13      QColor col;
    1.14  	/* Testing
    1.15 -	cout << "startElement <"<< eName.ascii()<<
    1.16 -		">  state="<<state <<
    1.17 -		"  laststate="<<stateStack.last()<<
    1.18 -		"   loadMode="<<loadMode<<endl;
    1.19 +	cout << "startElement <"<< eName.ascii()
    1.20 +		<<">  state="<<state 
    1.21 +		<<"  laststate="<<stateStack.last()
    1.22 +		<<"   loadMode="<<loadMode
    1.23 +		<<"       line="<<QXmlDefaultHandler::lineNumber()
    1.24 +		<<endl;
    1.25  	*/	
    1.26  	stateStack.append (state);	
    1.27      if ( state == StateInit && (eName == "vymmap")  )