diff --git a/config/src/main/resources/org/springframework/security/config/spring-security-5.4.rnc b/config/src/main/resources/org/springframework/security/config/spring-security-5.4.rnc index 337d5008af..86c6885a99 100644 --- a/config/src/main/resources/org/springframework/security/config/spring-security-5.4.rnc +++ b/config/src/main/resources/org/springframework/security/config/spring-security-5.4.rnc @@ -16,7 +16,7 @@ request-matcher = attribute request-matcher {"mvc" | "ant" | "regex" | "ciRegex"} port = ## Specifies an IP port number. Used to configure an embedded LDAP server, for example. - attribute port { xsd:positiveInteger } + attribute port { xsd:nonNegativeInteger } url = ## Specifies a URL. attribute url { xsd:token } diff --git a/config/src/main/resources/org/springframework/security/config/spring-security-5.4.xsd b/config/src/main/resources/org/springframework/security/config/spring-security-5.4.xsd index e7849864ba..1e15988a9d 100644 --- a/config/src/main/resources/org/springframework/security/config/spring-security-5.4.xsd +++ b/config/src/main/resources/org/springframework/security/config/spring-security-5.4.xsd @@ -43,7 +43,7 @@ - + Specifies an IP port number. Used to configure an embedded LDAP server, for example. @@ -190,7 +190,7 @@ - + Specifies an IP port number. Used to configure an embedded LDAP server, for example.