Author: darran.lofthouse(a)jboss.com
Date: 2007-08-09 12:16:51 -0400 (Thu, 09 Aug 2007)
New Revision: 4304
Modified:
stack/native/branches/dlofthouse/JBWS-1763/src/main/java/org/jboss/ws/core/soap/XMLFragment.java
Log:
That didn't help
Modified:
stack/native/branches/dlofthouse/JBWS-1763/src/main/java/org/jboss/ws/core/soap/XMLFragment.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-1763/src/main/java/org/jboss/ws/core/soap/XMLFragment.java 2007-08-09
16:07:29 UTC (rev 4303)
+++
stack/native/branches/dlofthouse/JBWS-1763/src/main/java/org/jboss/ws/core/soap/XMLFragment.java 2007-08-09
16:16:51 UTC (rev 4304)
@@ -30,7 +30,6 @@
import java.io.PrintWriter;
import java.io.Reader;
import java.io.StringWriter;
-import java.io.UnsupportedEncodingException;
import java.io.Writer;
import javax.xml.transform.Result;
@@ -81,14 +80,7 @@
public XMLFragment(String xmlString)
{
- try
- {
- source = new BufferedStreamSource(xmlString.getBytes("UTF-8"));
- }
- catch (UnsupportedEncodingException e)
- {
- WSException.rethrow(e);
- }
+ source = new BufferedStreamSource(xmlString.getBytes());
}
public XMLFragment(Result result)