[ 
https://issues.apache.org/jira/browse/YOKO-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edell Nolan updated YOKO-316:
-----------------------------


Need to make a change in CXF - sent the following email to cxf alias

Is it possible that someone could add a new method or change the existing one.
 
In the FileWriterUtil class in org.apache.cxf.tools.util;
 
In the getWriter(...) method - you assume that the encoding is always
UTF-8 - this may not always be the case.
 
In Yoko we want to be able to give the user an option to specify the encoding 
they want.
 
So we could pass in the encoding here.
 
thanks, Edell.
 
 
public class FileWriterUtil {
    
        public Writer getWriter(String packageName, String fileName) throws 
IOException {
        File dir = buildDir(packageName);
        File fn = new File(dir, fileName);
        if (fn.exists() && !fn.delete()) {
            throw new IOException(fn + ": Can't delete previous version");
        }
        return new OutputStreamWriter(new BufferedOutputStream(new 
FileOutputStream(fn)), "UTF-8");
    }


> Add idltowsdl tool option  -e <xml-encoding-type>
> -------------------------------------------------
>
>                 Key: YOKO-316
>                 URL: https://issues.apache.org/jira/browse/YOKO-316
>             Project: Yoko - CORBA Server
>          Issue Type: New Feature
>          Components: Idl2Wsdl
>    Affects Versions: v1.0.0
>            Reporter: Matteo Vescovi
>         Assigned To: Edell Nolan
>             Fix For: v1.0.0
>
>
> Add idltowsdl tool option -e <xml-encoding-type> to use specified encoding as 
> the value of the generated WSDL xml encoding attribute. Defaults to UTF-8. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to