svn commit: r421464 - /incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r421464 - /incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java

sichen
Author: sichen
Date: Wed Jul 12 16:43:44 2006
New Revision: 421464

URL: http://svn.apache.org/viewvc?rev=421464&view=rev
Log:
Reverted 421453:  DataFile output can be other than XML, so this needs to be more generic.

Modified:
    incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java

Modified: incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java?rev=421464&r1=421463&r2=421464&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java (original)
+++ incubator/ofbiz/trunk/framework/datafile/src/org/ofbiz/datafile/Record.java Wed Jul 12 16:43:44 2006
@@ -36,8 +36,6 @@
 import java.util.StringTokenizer;
 import java.util.NoSuchElementException;
 
-import org.ofbiz.base.util.UtilFormatOut;
-
 /**
  * Record
  *
@@ -263,7 +261,7 @@
             set(name, new Double(number));
         } // standard types
         else if (fieldType.equals("java.lang.String") || fieldType.equals("String"))
-            set(name, UtilFormatOut.encodeXmlValue(value));
+            set(name, value);
         else if (fieldType.equals("NullTerminatedString")) {
             int terminate = value.indexOf(0x0);
             set(name, terminate>0?value.substring(0,terminate):value);