Andy Clark wrote: > > Assaf Arkin wrote: > > People are running into troubles with pretty printing not because it's > > works without asking them, but because they enable it specifically. > > Well then that's a simple matter of getting some documentation > for the serializers into the FAQ. Just looking at the objects > and their constructors, I was unaware that you could create a > serializer from SerializerFactory without specifying an output > format. Or is that you can setup an output format object that > tells the serializer not to pretty-print?
You can create a serializer with a default OutputFormat given just the method name (xml, html, etc). Also, if you create an OutputFormat unless you specify true for the indenting argument or call setIndeting( true) it will not pretty-print. If it does, it's broken :-) arkin > > -- > Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED] -- ---------------------------------------------------------------------- Assaf Arkin www.exoffice.com CTO, Exoffice Technologies, Inc. www.exolab.org