-
Jan 20th, 2011, 08:45 AM
#1
Impossible to change xml encoding in prolog.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules