[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma commented on ELY-1568:
-----------------------------------
I have removed key-pair-type and certificate-type as they seem they are deliberately awaiting all elements.
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (WFLY-10256) [JDK9+] shaded client jars with MR overlays do not have defined Multi-Release in Manifest
by Rostislav Svoboda (JIRA)
[ https://issues.jboss.org/browse/WFLY-10256?page=com.atlassian.jira.plugin... ]
Rostislav Svoboda updated WFLY-10256:
-------------------------------------
Description:
Shaded client jars should have Manifest entry
* bin/client/jboss-cli-client.jar
* bin/client/jboss-client.jar
WFCOM-40 tracks effort for WildFly Common
ELY-1567 tracks effort for wildfly-elytron-tool jar
*Full / older details*
Several jars with MR overlays do not have defined Multi-Release in Manifest
Results with WildFly master from 2018-04-18:
{code}
DistributionTestCase.checkOverlayDirectoryAndManifestEntryForExpectedMRJars:93
The following 4 assertions failed:
1) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/wildfly-elytron-tool.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
2) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-cli-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
3) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
4) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
{code}
According MR JAR Support in JBoss Parent proposal WildFly Common should have Manifest entry
* modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar
I believe shaded jars should also have Manifest entry
* bin/wildfly-elytron-tool.jar
* bin/client/jboss-cli-client.jar
* bin/client/jboss-client.jar
Using https://github.com/jboss-eap-qe/jarest/pull/3/files ++ mvn test -Djarest.input.dir=/Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT
was:
Several jars with MR overlays do not have defined Multi-Release in Manifest
Results with WildFly master from 2018-04-18:
{code}
DistributionTestCase.checkOverlayDirectoryAndManifestEntryForExpectedMRJars:93
The following 4 assertions failed:
1) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/wildfly-elytron-tool.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
2) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-cli-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
3) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
4) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
{code}
According MR JAR Support in JBoss Parent proposal WildFly Common should have Manifest entry
* modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar
I believe shaded jars should also have Manifest entry
* bin/wildfly-elytron-tool.jar
* bin/client/jboss-cli-client.jar
* bin/client/jboss-client.jar
Using https://github.com/jboss-eap-qe/jarest/pull/3/files ++ mvn test -Djarest.input.dir=/Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT
> [JDK9+] shaded client jars with MR overlays do not have defined Multi-Release in Manifest
> -----------------------------------------------------------------------------------------
>
> Key: WFLY-10256
> URL: https://issues.jboss.org/browse/WFLY-10256
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 12.0.0.Final
> Reporter: Rostislav Svoboda
> Assignee: David Lloyd
> Priority: Critical
>
> Shaded client jars should have Manifest entry
> * bin/client/jboss-cli-client.jar
> * bin/client/jboss-client.jar
> WFCOM-40 tracks effort for WildFly Common
> ELY-1567 tracks effort for wildfly-elytron-tool jar
> *Full / older details*
> Several jars with MR overlays do not have defined Multi-Release in Manifest
> Results with WildFly master from 2018-04-18:
> {code}
> DistributionTestCase.checkOverlayDirectoryAndManifestEntryForExpectedMRJars:93
> The following 4 assertions failed:
> 1) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/wildfly-elytron-tool.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
> at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
> 2) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-cli-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
> at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
> 3) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/bin/client/jboss-client.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
> at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
> 4) [Artifact /Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar is expected to be Multi-Release JAR, jar.isMultiReleaseJar() returns false] expected:<[tru]e> but was:<[fals]e>
> at DistributionTestCase.lambda$checkOverlayDirectoryAndManifestEntryForExpectedMRJars$8(DistributionTestCase.java:90) expected:<[tru]e> but was:<[fals]e>
> {code}
> According MR JAR Support in JBoss Parent proposal WildFly Common should have Manifest entry
> * modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.3.1.Final.jar
> I believe shaded jars should also have Manifest entry
> * bin/wildfly-elytron-tool.jar
> * bin/client/jboss-cli-client.jar
> * bin/client/jboss-client.jar
> Using https://github.com/jboss-eap-qe/jarest/pull/3/files ++ mvn test -Djarest.input.dir=/Users/rsvoboda/git/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{noformat}
<providers>
<use-service-loader/>
</providers>
{noformat}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{noformat}
<providers>
<use-service-loader/>
</providers>
{noformat}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{noformat}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{noformat}
<providers>
<use-service-loader/>
</providers>
{noformat}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{noformat}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {noformat}
> <providers>
> <use-service-loader/>
> </providers>
> {noformat}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {noformat}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months