[sword-cvs] sword/src/utilfuns utilxml.cpp,1.1,1.2

sword@www.crosswire.org sword@www.crosswire.org
Mon, 26 May 2003 01:36:33 -0700


Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv17071/src/utilfuns

Modified Files:
	utilxml.cpp 
Log Message:
	Improved verse reference parsing to include proper
		parsing of osisRef attributes and other
		misc. anomalies.
	Returned canon.h back to previous state to
		avoid locale key mismatches



Index: utilxml.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/utilxml.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** utilxml.cpp	26 May 2003 04:32:45 -0000	1.1
--- utilxml.cpp	26 May 2003 08:36:31 -0000	1.2
***************
*** 100,106 ****
  
  	MapStringPair::iterator it = attributes.find(attribName);
- 	if (it == attributes.end()) {
- 		return 0;
- 	}
  	return (it == attributes.end()) ? 0 : it->second.c_str();
  }
--- 100,103 ----