DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14202>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14202

spaces in filenames give an error





------- Additional Comments From [EMAIL PROTECTED]  2002-11-05 12:06 -------
I admit, I gave a bit too few information. I agree, this method works. Butt 
keep the following in mind:
I use JAXP for transformation, and the problem occurs on the following 
situation too:
javax.xml.transform.Transformer.transform(new StreamResult(new File(...)), dest)
I don't know, if a program should really take care of the correct url-encoding 
of the File-object passed to StreamResult.

Second: Filenames without a space do not give an exception when they are not 
url-encoded. This is a bit inconsistent, and IMHO leads to possible errors 
which could be detected earlier. (The developer tests only with filenames 
without a space, and a customer perhaps has got files with spaces.)

I actually am not too familiar with the spec, but the current "built-in" XML-
parser of the jdk 1.4.1 handles filenames with spaces without any error.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to