[GME-commit] GMESRC/GME/XmlBackEnd CoreXmlFile.cpp,1.7,1.8

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Apr 12 19:10:13 CDT 2005


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

Modified Files:
	CoreXmlFile.cpp 
Log Message:
Fixing bug# 103 (Jira)
Each file will have its own xml header.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: CoreXmlFile.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/XmlBackEnd/CoreXmlFile.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** CoreXmlFile.cpp	26 Jan 2005 17:31:00 -0000	1.7
--- CoreXmlFile.cpp	12 Apr 2005 18:10:10 -0000	1.8
***************
*** 2060,2063 ****
--- 2060,2066 ----
      if( file != NULL )
      {
+         // to encode correctly the special characters in each separate file
+         fprintf(file, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
+ 
          // write objects recursively
          writeObject( container, file, true, "", currentTime2 );



More information about the GME-commit mailing list