Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20985

docs/schema/wildfly-undertow_11_0.xsd has redundant types definitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.4.0.GA
    • 7.4.0.Beta
    • Security, Undertow
    • None
    • False
    • False
    • Undefined

    Description

      In current build of JBoss EAP 7.4.0.Beta-CR1, the wildfly-undertow_11_0.xsd contains definitions of following types:

      <xs:attributeGroup name="credentialReferenceStoreBased">
      

      and

      <xs:complexType name="credentialReferenceType">
      

      Although, this schema now imports wildfly-credential-reference_1_1.xsd schema which defines the very same types. These changes were introduced with following commit and then updated to current version with this commit. Both were part of WFLY-13369 (WFLY-12510 effectively).

      The wildfly-undertow_11_0.xsd is present in WildFly releases since WildFly 20:

      $ find . -name "wildfly-undertow_11*.xsd" | xargs md5sum 
      b2a0e5abecb032234531689721da81e4  ./wildfly-21.0.2.Final/docs/schema/wildfly-undertow_11_0.xsd
      b2a0e5abecb032234531689721da81e4  ./wildfly-22.0.0.Final/docs/schema/wildfly-undertow_11_0.xsd
      0471ebd3083038d3c9c3af8d0cd02be9  ./wildfly-20.0.1.Final/docs/schema/wildfly-undertow_11_0.xsd
      

      As such, I believe that those two definitions in wildfly-undertow_11_0.xsd schema can and should be safely removed since they are inherited from the wildfly-credential-reference_1_1.xsd schema now anyway.


      Note: Correct value of `Affects Version/s` for this issue should be 7.4.0.Beta-CR1, although there is no such option at the moment.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: