Martijn Houtman <[EMAIL PROTECTED]> wrote: > There is a bug in <mm:formatter xslt="test.xsl>. After some testing I found > out that it does not accept setting the encoding string in the xml > declaration and starts encoding in a strange way. Only > > <?xml version="1.0"?> > > works well. May be this explains also other iso-8859-1 errors.
I do not yet quite understand. But mm:formatter has actually 2 modes, it takes it's body as a String or it constructs a DOM tree internally. In both cases I think the information is received as String instead of as byte-arrays (what XML's are). Being a Java String, the encoding gets irrelevant, and I can imaging that specifying it again could give problems. Can you cite how excactly you used mm:formatter, or can you send a JSP which reproduces the bug? Michiel -- Michiel Meeuwissen Mediacentrum 140 H'sum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
