From ff117b7b7b1d21dbf34df52d11ca37d3a6aef771 Mon Sep 17 00:00:00 2001 From: David Turanski Date: Fri, 8 Jun 2012 17:05:49 -0400 Subject: [PATCH] modified schema to make name attribute optional for root regions and required for subregions --- .../gemfire/config/spring-gemfire-1.2.xsd | 144 +++++++++++++----- .../data/gemfire/config/replicated-ns.xml | 4 - 2 files changed, 110 insertions(+), 38 deletions(-) diff --git a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.2.xsd b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.2.xsd index f301c186..1a2fe21d 100644 --- a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.2.xsd +++ b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.2.xsd @@ -275,7 +275,7 @@ The name of the bean referred by this declaration. If no reference exists, use a - + - + + + + + + + + + + + + + + @@ -301,18 +315,12 @@ Defines a lookup Subregion - - - - - + - @@ -426,15 +434,29 @@ Default is false, meaning statistics are disabled. - + - - + + - + + + + + + + + + + + + + + @@ -509,28 +531,45 @@ Time to idle (or idle timeout) configuration for the region entries. Default: no - + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + @@ -557,11 +596,18 @@ The name of the bean defining the GemFire cache (by default 'gemfire-cache'). ]]> + + + + + - + - + @@ -609,17 +655,31 @@ The action to take when performing eviction. - - + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + diff --git a/src/test/resources/org/springframework/data/gemfire/config/replicated-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/replicated-ns.xml index a2c3dfa6..3fe3436a 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/replicated-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/replicated-ns.xml @@ -28,8 +28,4 @@ - - - - \ No newline at end of file