cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4124] - StreamGenerator does not preserve XML encoding PI
Date Fri, 01 Mar 2002 18:33:42 GMT
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


Mime
View raw message