1 <beans xmlns=
"http://www.springframework.org/schema/beans"
2 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
3 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
4 default-lazy-init=
"true">
6 <bean id=
"slcTemplate.detached.testDefinition"
7 class=
"org.argeo.slc.lib.detached.DetachedTestDefinition"
11 <bean id=
"slcDefault.detached.xmlConverterCastor"
12 class=
"org.argeo.slc.lib.detached.DetachedXmlConverterSpring">
13 <property name=
"marshaller"
14 ref=
"slcDefault.detached.castor.marshaller" />
15 <property name=
"unmarshaller"
16 ref=
"slcDefault.detached.castor.marshaller" />
19 <bean id=
"slcDefault.detached.castor.marshaller"
20 class=
"org.springframework.oxm.castor.CastorMarshaller">
21 <property name=
"mappingLocations">
24 classpath:org/argeo/slc/lib/detached/castor.xml
28 <property name=
"whitespacePreserve" value=
"true" />
31 <bean id=
"slcDefault.detached.xml.xsdValidator"
32 factory-bean=
"slcDefault.detached.xml.xsdSchema"
33 factory-method=
"createValidator" />
35 <bean id=
"slcDefault.detached.xml.xsdSchema"
36 class=
"org.springframework.xml.xsd.SimpleXsdSchema">
38 value=
"classpath:/org/argeo/slc/detached/slc-detached.xsd" />