Hi,
I want to create some test data consisting of XML within a spring context file. Something like:
<bean id="data-xmltest-user12345" class="java.lang.String">
<constructor-arg index="0" type="java.lang.String">
<value>
<NetworkProfileUser mlns="http://www.hodo.org/test/ns">
<UserId>12345</UserId>
<Name>Carmen Electra</Name>
</NetworkProfileUser>
</value>
</constructor-arg>
</bean>
Currently this breaks when creating the ApplicationContext. Is there any way to tell the <value> that this is XML and it is what I want?
Thanks,
Mike


Reply With Quote