Hello, I'm trying to change encoding of marshalled xml like that:

<bean id="jaxb2Marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshalle r">
<property name="classesToBeBound">
<list>
<value>example.Foo</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding" value="ISO-8859-1" />
</map>
</property>
</bean>

but it seems to me that 'jaxb.encoding' property makes no effect and encoding of xml in prolog is still default "UTF-8".
Any help will be appreciated.

btw i use spring-oxm-1.5.9 and IBM's implementation of jaxb stack.