1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
5
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
7
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
8
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
9
|
">
|
10
|
|
11
|
<!--
|
12
|
- Accepts a configuration file.
|
13
|
- The default configuration file is /WEB-INF/views.xml
|
14
|
<bean name="viewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
|
15
|
<!- -
|
16
|
FOR DEBUGING ONLY !!!!
|
17
|
<property name="cache" value="false"/>
|
18
|
- ->
|
19
|
</bean>
|
20
|
-->
|
21
|
|
22
|
<import resource="classpath:eu/etaxonomy/cdm/remote/json/jsonConfigurations.xml"/>
|
23
|
|
24
|
<!--
|
25
|
A TaxonNodeComparator with substitutionRules to allow correct sorted
|
26
|
taxon nodes e.g. in a taxonomic tree browser
|
27
|
-->
|
28
|
<bean name="taxonNodeByNameComparator" class="eu.etaxonomy.cdm.model.taxon.TaxonNodeByNameComparator">
|
29
|
<property name="substitutionRules">
|
30
|
<map>
|
31
|
<entry key=".*?( sp\.| ssp\.| spp\.| n\.|Nomina dubia|Incertae sedis|Nomina excludenda).*" value="_" />
|
32
|
</map>
|
33
|
</property>
|
34
|
</bean>
|
35
|
|
36
|
</beans>
|