DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39181>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39181 Summary: File() writes file with %20" (percent twenty) in filename Product: XmlCommons Version: 1.x Platform: Other OS/Version: Windows XP Status: NEW Severity: minor Priority: P5 Component: SAX AssignedTo: commons-dev@xml.apache.org ReportedBy: [EMAIL PROTECTED] In the following code, if the target string variable contains a space, the name of the file produced will contain "%20" (percent twenty) instead of a space. I'm using jdk1.5.0_06. This was originally reported under FOP (http://issues.apache.org/bugzilla/show_bug.cgi?id=39030). TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); transformer.transform( new javax.xml.transform.dom.DOMSource(doc), new javax.xml.transform.stream.StreamResult(new File(target))); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.