[GME-commit] GMESRC/GME/XmlBackEnd CoreXmlFile.cpp,1.21,1.22

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Sep 27 07:22:48 CDT 2007


Update of /project/gme-repository/GMESRC/GME/XmlBackEnd
In directory escher:/tmp/cvs-serv5611/XmlBackEnd

Modified Files:
	CoreXmlFile.cpp 
Log Message:
Minor things.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: CoreXmlFile.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/XmlBackEnd/CoreXmlFile.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** CoreXmlFile.cpp	26 Sep 2007 20:30:31 -0000	1.21
--- CoreXmlFile.cpp	27 Sep 2007 12:22:45 -0000	1.22
***************
*** 778,810 ****
  		if( b1 || b2)
  		{
- 			//DOMBuilder * parser = NULL;
- 			//DOMImplementationLS * domimpl = DOMImplementationRegistry::getDOMImplementation( XMLString::transcode("XML 1.0"));//NULL
- 			//ASSERT( domimpl != NULL );
- 
- 			//parser = domimpl->createDOMBuilder( DOMImplementationLS::MODE_SYNCHRONOUS, NULL );
- 			//ASSERT( parser != NULL );
- 
- 			//XERCES_CPP_NAMESPACE::DOMDocument * doc = parser->parseURI( "F:\\t\\at\\an\\tesztam2\\f7bed9e2cbf62a418ec4e0df0ffe18a5.1xml");
- 			//if( doc && 0 == doc->getDocumentElement())
- 			//{
- 			//	DOMNodeList* list = doc->getChildNodes();
- 
- 			//	int c = (int) list->getLength();
- 			//	for( int i = c-1; i >= 0 ; --i)
- 			//	{
- 			//		DOMNode * node = list->item(i);
- 			//		if( node->getNodeType() == DOMNode::NodeType::TEXT_NODE)
- 			//		{
- 			//			DOMText * txt  = (DOMText*) node;
- 			//			const XMLCh* p = txt->getData();
- 			//		}
- 			//		if( node->getNodeType() == DOMNode::ELEMENT_NODE)
- 			//		{
- 			//			DOMElement* elem = (DOMElement*)node;
- 			//			const XMLCh* tn = elem->getTagName();
- 			//		}
- 			//	}
- 			//}
- 
  			std::string id = str.substr( b1?magic_str.length():magi2_str.length());
  			if( id != "")
--- 778,781 ----
***************
*** 828,832 ****
  			}
  
! 			AfxMessageBox( res.c_str());
  		}
  	}
--- 799,803 ----
  			}
  
! 			AfxMessageBox( res.c_str(), MB_ICONINFORMATION);
  		}
  	}
***************
*** 5222,5229 ****
  		getSSCheckOutUser( container, user, newfile );
  		if( user.empty())
! 			user = "The object selected is either not checked out.";
  		else
  			user = "The object selected is checked out by \"" + user + "\"";
! 		AfxMessageBox( user.c_str());
  		//bool ismodbyothers = fileModifiedByOthers( container);
  	}
--- 5193,5200 ----
  		getSSCheckOutUser( container, user, newfile );
  		if( user.empty())
! 			user = "The object selected is not checked out.";
  		else
  			user = "The object selected is checked out by \"" + user + "\"";
! 		AfxMessageBox( user.c_str(), MB_ICONINFORMATION);
  		//bool ismodbyothers = fileModifiedByOthers( container);
  	}



More information about the GME-commit mailing list