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 11935] - format properties for Text/XMLSerializer not working
Date Tue, 17 Sep 2002 06:55:58 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=11935>.
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=11935

format properties for Text/XMLSerializer not working





------- Additional Comments From trompler@informatik.tu-darmstadt.de  2002-09-17 06:55 -------
Since no format properties are passed, one can not set a doctype. WAP Gateways 
require a valid doctype and therefore Cocoon can not produce valid wml pages.

Swaping the lines in 76 & 77 in XMLSerializer:

handler.setResult(new StreamResult(this.output));
handler.getTransformer().setOutputProperties(format);

to

handler.getTransformer().setOutputProperties(format);
handler.setResult(new StreamResult(this.output));

gets XMLSerializer working again, but I can't tell if this breaks someting 
else.

-- Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message