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=5085>. 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=5085 Reporting of externally specified encodings ------- Additional Comments From [EMAIL PROTECTED] 2001-11-26 06:54 ------- There is no reliable way for the Parser to report externally specified encodings. Such encodings are specified in one of two ways. In the first case, the InputSource has an encoding provided, in which case the application must have been the one to provide it. There is no code in the parser to do so. While one could pass the encoding back out to the application in the startDocument/startEntity callbacks, the application is not learning anything new. In the second case, the InputSource is passed with a character stream, i.e. Reader, and the encoding is not provided. Since the stream might come from any number of sources, i.e. InputStreamReader, StringReader, etc., there is no way for the parser to know what the [character encoding scheme] of the entity was, except to say that when the Parser saw it the encoding was UTF-16, which may or may not be useful. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
