diff --git a/net/src/main/java/com/zfoo/net/schema/NamespaceHandler.java b/net/src/main/java/com/zfoo/net/schema/NamespaceHandler.java index cbdede509..1b7d7f21f 100644 --- a/net/src/main/java/com/zfoo/net/schema/NamespaceHandler.java +++ b/net/src/main/java/com/zfoo/net/schema/NamespaceHandler.java @@ -20,7 +20,7 @@ */ public class NamespaceHandler extends NamespaceHandlerSupport { - private final String NET_TAG = "config"; + private final String NET_TAG = "net"; @Override public void init() { diff --git a/net/src/main/resources/net-1.0.xsd b/net/src/main/resources/net-1.0.xsd index 1e2193cf4..7447a3527 100644 --- a/net/src/main/resources/net-1.0.xsd +++ b/net/src/main/resources/net-1.0.xsd @@ -49,7 +49,7 @@ - + @@ -73,7 +73,7 @@ - + diff --git a/net/src/test/resources/config.xml b/net/src/test/resources/config.xml index d1bc6f8ec..50ddcb5bb 100644 --- a/net/src/test/resources/config.xml +++ b/net/src/test/resources/config.xml @@ -18,7 +18,7 @@ - - + + diff --git a/net/src/test/resources/gateway/gateway_client_config.xml b/net/src/test/resources/gateway/gateway_client_config.xml index d1bc6f8ec..50ddcb5bb 100644 --- a/net/src/test/resources/gateway/gateway_client_config.xml +++ b/net/src/test/resources/gateway/gateway_client_config.xml @@ -18,7 +18,7 @@ - - + + diff --git a/net/src/test/resources/gateway/gateway_config.xml b/net/src/test/resources/gateway/gateway_config.xml index ae81440ce..abcb52e95 100644 --- a/net/src/test/resources/gateway/gateway_config.xml +++ b/net/src/test/resources/gateway/gateway_config.xml @@ -18,7 +18,7 @@ - + @@ -29,6 +29,6 @@ - + diff --git a/net/src/test/resources/provider/consumer_cached_consistent_config.xml b/net/src/test/resources/provider/consumer_cached_consistent_config.xml index d1ee20311..b55e177ed 100644 --- a/net/src/test/resources/provider/consumer_cached_consistent_config.xml +++ b/net/src/test/resources/provider/consumer_cached_consistent_config.xml @@ -19,7 +19,7 @@ - + @@ -27,6 +27,6 @@ - + diff --git a/net/src/test/resources/provider/consumer_consistent_hash_config.xml b/net/src/test/resources/provider/consumer_consistent_hash_config.xml index b4ad8c852..a4a6c29be 100644 --- a/net/src/test/resources/provider/consumer_consistent_hash_config.xml +++ b/net/src/test/resources/provider/consumer_consistent_hash_config.xml @@ -19,7 +19,7 @@ - + @@ -27,6 +27,6 @@ - + diff --git a/net/src/test/resources/provider/consumer_random_config.xml b/net/src/test/resources/provider/consumer_random_config.xml index afdb8c059..d20f3bf81 100644 --- a/net/src/test/resources/provider/consumer_random_config.xml +++ b/net/src/test/resources/provider/consumer_random_config.xml @@ -18,7 +18,7 @@ - + @@ -26,6 +26,6 @@ - + diff --git a/net/src/test/resources/provider/provider_config.xml b/net/src/test/resources/provider/provider_config.xml index 777e9651f..f4bece2e7 100644 --- a/net/src/test/resources/provider/provider_config.xml +++ b/net/src/test/resources/provider/provider_config.xml @@ -19,7 +19,7 @@ - + @@ -33,6 +33,6 @@ - +