You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2020/08/31 08:17:50 UTC

[shardingsphere] branch master updated: remove required from xsd

This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new bd1343d  remove required from xsd
     new c5f791d  Merge pull request #7171 from kimmking/fixXSD
bd1343d is described below

commit bd1343dbec5c8664e565b07914659acf68dba3a0
Author: kimmking <ki...@apache.org>
AuthorDate: Mon Aug 31 16:05:49 2020 +0800

    remove required from xsd
---
 .../src/main/resources/META-INF/namespace/governance.xsd              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-governance-spring/shardingsphere-jdbc-governance-spring-namespace/src/main/resources/META-INF/namespace/governance.xsd b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-governance-spring/shardingsphere-jdbc-governance-spring-namespace/src/main/resources/META-INF/namespace/governance.xsd
index 132a643..8dfd2ad 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-governance-spring/shardingsphere-jdbc-governance-spring-namespace/src/main/resources/META-INF/namespace/governance.xsd
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-governance-spring/shardingsphere-jdbc-governance-spring-namespace/src/main/resources/META-INF/namespace/governance.xsd
@@ -29,9 +29,9 @@
                 <xsd:element ref="beans:props" minOccurs="0" />
             </xsd:all>
             <xsd:attribute name="id" type="xsd:string" use="required" />
-            <xsd:attribute name="data-source-names" type="xsd:string" use="required" />
-            <xsd:attribute name="rule-refs" type="xsd:string" use="required" />
             <xsd:attribute name="reg-center-ref" type="xsd:string" use="required" />
+            <xsd:attribute name="data-source-names" type="xsd:string" />
+            <xsd:attribute name="rule-refs" type="xsd:string" />
             <xsd:attribute name="config-center-ref" type="xsd:string" />
             <xsd:attribute name="overwrite" type="xsd:string" default="false" />
         </xsd:complexType>