You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/03/01 19:33:42 UTC
DO NOT REPLY [Bug 4124] -
StreamGenerator does not preserve XML encoding PI
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=4124>.
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=4124
StreamGenerator does not preserve XML encoding PI
------- Additional Comments From xml-cocoon@nicolaken.com 2002-03-01 18:33 -------
This seems to be the reason:
String charset = getCharacterEncoding(request, contentType) ;
if( charset != null)
{
this.inputSource.setEncoding(charset);
}
The encoding is desumed from the request, not the xml itself.
Now, what is the "correct" thing to do?
Hmmm...
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org