]
RH Bugzilla Integration commented on WFLY-795:
----------------------------------------------
Kabir Khan <kkhan(a)redhat.com> changed the Status of [bug
jboss-ejb-iiop_1_0.xsd has both use="required" and default
attributes on some elements
--------------------------------------------------------------------------------------
Key: WFLY-795
URL:
https://issues.jboss.org/browse/WFLY-795
Project: WildFly
Issue Type: Bug
Components: EJB
Reporter: James Livingston
Assignee: David Lloyd
Fix For: 8.0.0.CR1
In jboss-ejb-iiop_1_0.xsd, the "integrity", "confidentiality",
"establish-trust-in-client", and "establish-trust-in-target"
attributes on the "iorTransportConfigType" complexType, and the
"auth-method", "realm" and "required" attributes on the
"iorASContextType" complexType have both use="required" and a default
attribute.
This does not make sense because default values are only applicable to optional
attributes. I'm not sure which is correct, but either the attributes should be
optional or the default values removed. This problem causes the XSD to not validate.