Jeremy Carroll said: >> Looks like a bug to me, regardless of how >> well documented it is (I find no documentation on it anywhere, we worked >> out this behaviour through trial and error). > > In java.io.FileWriter > > "The constructors of this class assume that the default character > encoding and the default byte-buffer size are acceptable."
Like I said, "I find no documentation anywhere". Just because documentation exists doesn't make up for it being difficult to find or non obvious. Hindsight always has 20/20 vision. > In such a case, Xerces cannot detect the error. In other words "data in, garbage out". I would definitely vote +1 for Writer support to be deprecated, unless Writer is to be fixed in future versions of Java. > It's your bug, take some responsibility and stop trying to blame someone > else. When this bug hit me, it was a difficult bug to understand because > of the need to understand character encoding issues ... but that didn't > make it not my problem. Do not fall into the trap of thinking of this as a "blame" issue. I cannot for the life of me care in the slightest whose fault it is that this situation exists. My only concern is that it be fixed or adequately worked around so that other programmers do not fall into the same trap. I believe the code I am responsible for within the ASF must do the job of the end user. If it makes the end user's life difficult, then I consider the code in need of improvement, not the end user. Regards, Graham -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
