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

xsd/dtd files in docs/schema not related to management, mainly from opensaml and othr cxf related artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR12
    • 7.0.0.DR10
    • Build System
    • None
    • Hide
      JBOSS_HOME=/home/rsvoboda/TESTING/700DR10/jboss-eap-7.0
      JAR_LOCATION=${JBOSS_HOME}/modules
      
      rm -f jar-list && for i in `find ${JAR_LOCATION} | grep jar$ `; do echo $i; FILE_NAME=`basename $i`; unzip -l $i | while read out_line; do echo "[${FILE_NAME}] ${out_line}"; done >> jar-list;  done
      
      ARRAY=( 
      datatypes.dtd
      ietf-kitten-sasl-saml-ec.xsd
      soap-envelope.xsd
      sstc-metadata-attr.xsd
      sstc-saml-delegation.xsd
      sstc-saml-idp-discovery.xsd
      sstc-saml-metadata-ext-query.xsd
      sstc-saml-protocol-ext-thirdparty.xsd
      ws-addr.xsd
      ws-policy.xsd
      xenc-schema.xsd
      xmldsig-core-schema.xsd
      XMLSchema.dtd
      XMLSchema.xsd
      xmltooling-config.xsd
      xml.xsd
            )
      
      for line in "${ARRAY[@]}" ; do
        echo ""
        echo " === ${line} ==="
        ls -l ${JBOSS_HOME}/docs/schema/${line}
        grep "/${line}" jar-list
      done
      
      Show
      JBOSS_HOME=/home/rsvoboda/TESTING/700DR10/jboss-eap-7.0 JAR_LOCATION=${JBOSS_HOME}/modules rm -f jar-list && for i in `find ${JAR_LOCATION} | grep jar$ `; do echo $i; FILE_NAME=`basename $i`; unzip -l $i | while read out_line; do echo "[${FILE_NAME}] ${out_line}" ; done >> jar-list; done ARRAY=( datatypes.dtd ietf-kitten-sasl-saml-ec.xsd soap-envelope.xsd sstc-metadata-attr.xsd sstc-saml-delegation.xsd sstc-saml-idp-discovery.xsd sstc-saml-metadata-ext-query.xsd sstc-saml-protocol-ext-thirdparty.xsd ws-addr.xsd ws-policy.xsd xenc-schema.xsd xmldsig-core-schema.xsd XMLSchema.dtd XMLSchema.xsd xmltooling-config.xsd xml.xsd ) for line in "${ARRAY[@]}" ; do echo "" echo " === ${line} ===" ls -l ${JBOSS_HOME}/docs/schema/${line} grep "/${line}" jar-list done

      EAP 7 DR10 build and Wildfly 10 contains xsd/dtd files in docs/schema not related to management, mainly from opensaml and othr cxf related artifacts.

      Seems like these files are extracted from jars during the build. Based on file size it seems all the files I focused on are from opensaml jars.

      I'm really not sure we need these xsd/dtd files in docs/schema directory. I would suggest to drop them or split the content of docs/schema to WF10/EAP7management related and the rest.

      For now I created just one JIRA, can split it into more if needed.

      Here is the list of problematic files:

       === datatypes.dtd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 6357 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/datatypes.dtd
      [jsf-impl-2.2.12-jbossorg-2.jar] 8298  07-29-2015 11:31   com/sun/faces/datatypes.dtd
      [jboss-servlet-api_3.1_spec-1.0.0.Final.jar] 6367  10-09-2013 15:30   javax/servlet/resources/datatypes.dtd
      [picketlink-federation-2.5.5.CR1.jar] 7803  08-25-2015 13:19   schema/w3c/xmlschema/datatypes.dtd
      [xmlsec-2.0.5.jar] 6357  07-10-2015 13:51   bindings/schemas/datatypes.dtd
      [cxf-rt-ws-policy-3.1.2-jbossorg-2.jar] 6357  05-14-2015 15:00   schemas/datatypes.dtd
      [wss4j-ws-security-stax-2.1.2.jar] 6357  07-14-2015 17:09   schemas/datatypes.dtd
      [jbossxacml-2.0.8.Final.jar] 6562  04-04-2012 10:01   schema/xmlschema/datatypes.dtd
      [jboss-metadata-common-10.0.0.CR1.jar] 6562  09-16-2015 09:18   dtd/datatypes.dtd
      [opensaml-core-3.1.1.jar] 6357  03-25-2015 14:19   schema/datatypes.dtd
      
       === ietf-kitten-sasl-saml-ec.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 1391 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/ietf-kitten-sasl-saml-ec.xsd
      [opensaml-saml-api-3.1.1.jar] 1391  03-25-2015 14:20   schema/ietf-kitten-sasl-saml-ec.xsd
      
       === soap-envelope.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 4607 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/soap-envelope.xsd
      [opensaml-soap-api-3.1.1.jar] 4607  03-25-2015 14:20   schema/soap-envelope.xsd
      
       === sstc-metadata-attr.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 1161 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/sstc-metadata-attr.xsd
      [opensaml-saml-api-3.1.1.jar] 1161  03-25-2015 14:20   schema/sstc-metadata-attr.xsd
      
       === sstc-saml-delegation.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 1631 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/sstc-saml-delegation.xsd
      [opensaml-saml-api-3.1.1.jar] 1631  03-25-2015 14:20   schema/sstc-saml-delegation.xsd
      
       === sstc-saml-idp-discovery.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 982 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/sstc-saml-idp-discovery.xsd
      [opensaml-saml-api-3.1.1.jar] 982  03-25-2015 14:20   schema/sstc-saml-idp-discovery.xsd
      
       === sstc-saml-metadata-ext-query.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 2321 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/sstc-saml-metadata-ext-query.xsd
      [opensaml-saml-api-3.1.1.jar] 2321  03-25-2015 14:20   schema/sstc-saml-metadata-ext-query.xsd
      
       === sstc-saml-protocol-ext-thirdparty.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 1001 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/sstc-saml-protocol-ext-thirdparty.xsd
      [opensaml-saml-api-3.1.1.jar] 1001  03-25-2015 14:20   schema/sstc-saml-protocol-ext-thirdparty.xsd
      
       === ws-addr.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 5574 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/ws-addr.xsd
      [picketlink-federation-2.5.5.CR1.jar] 5800  08-25-2015 13:19   schema/wstrust/v1_3/ws-addr.xsd
      [cxf-core-3.1.2-jbossorg-2.jar] 5591  08-31-2015 16:21   schemas/wsdl/ws-addr.xsd
      [jbossxts-5.2.2.Final.jar] 5581  08-12-2015 12:23   org/oasis_open/docs/ws_tx/wscoor/_2006/_06/wsdl/ws-addr.xsd
      [jbossxts-5.2.2.Final.jar] 5581  08-12-2015 12:23   wscoor1.1/wsdl/ws-addr.xsd
      [jbossxts-5.2.2.Final.jar] 5581  08-12-2015 12:23   org/oasis_open/docs/ws_tx/wsat/_2006/_06/wsdl/ws-addr.xsd
      [jbossxts-5.2.2.Final.jar] 5581  08-12-2015 12:23   org/oasis_open/docs/ws_tx/wsba/_2006/_06/wsdl/ws-addr.xsd
      [opensaml-soap-api-3.1.1.jar] 5574  03-25-2015 14:20   schema/ws-addr.xsd
      
       === ws-policy.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 5379 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/ws-policy.xsd
      [picketlink-federation-2.5.5.CR1.jar] 5506  08-25-2015 13:19   schema/wstrust/v1_3/ws-policy.xsd
      [opensaml-soap-api-3.1.1.jar] 5379  03-25-2015 14:20   schema/ws-policy.xsd
      
       === xenc-schema.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 5905 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/xenc-schema.xsd
      [picketlink-federation-2.5.5.CR1.jar] 5293  08-25-2015 13:19   schema/w3c/xmlenc/xenc-schema.xsd
      [xmlsec-2.0.5.jar] 5194  07-10-2015 13:51   bindings/schemas/xenc-schema.xsd
      [xmlsec-2.0.5.jar] 5234  07-10-2015 13:51   org/apache/xml/security/resource/schema/xenc-schema.xsd
      [wss4j-ws-security-stax-2.1.2.jar] 5194  07-14-2015 17:09   schemas/xenc-schema.xsd
      [opensaml-xmlsec-api-3.1.1.jar] 5905  03-25-2015 14:19   schema/xenc-schema.xsd
      
       === xmldsig-core-schema.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 11283 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/xmldsig-core-schema.xsd
      [picketlink-federation-2.5.5.CR1.jar] 10659  08-25-2015 13:19   schema/w3c/xmldsig/xmldsig-core-schema.xsd
      [xmlsec-2.0.5.jar] 10324  07-10-2015 13:51   bindings/schemas/xmldsig-core-schema.xsd
      [xmlsec-2.0.5.jar] 10293  07-10-2015 13:51   org/apache/xml/security/resource/schema/xmldsig-core-schema.xsd
      [cxf-rt-ws-policy-3.1.2-jbossorg-2.jar] 9927  05-14-2015 15:00   schemas/xmldsig-core-schema.xsd
      [wss4j-ws-security-stax-2.1.2.jar] 10256  07-14-2015 17:09   schemas/xmldsig-core-schema.xsd
      [opensaml-xmlsec-api-3.1.1.jar] 11283  03-25-2015 14:19   schema/xmldsig-core-schema.xsd
      
       === XMLSchema.dtd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 16088 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/XMLSchema.dtd
      [jsf-impl-2.2.12-jbossorg-2.jar] 18015  07-29-2015 11:31   com/sun/faces/XMLSchema.dtd
      [jboss-servlet-api_3.1_spec-1.0.0.Final.jar] 16085  10-09-2013 15:30   javax/servlet/resources/XMLSchema.dtd
      [picketlink-federation-2.5.5.CR1.jar] 18502  08-25-2015 13:19   schema/w3c/xmlschema/XMLSchema.dtd
      [xmlsec-2.0.5.jar] 16075  07-10-2015 13:51   bindings/schemas/XMLSchema.dtd
      [cxf-rt-ws-policy-3.1.2-jbossorg-2.jar] 16075  05-14-2015 15:00   schemas/XMLSchema.dtd
      [wss4j-ws-security-stax-2.1.2.jar] 16075  07-14-2015 17:09   schemas/XMLSchema.dtd
      [jbossxacml-2.0.8.Final.jar] 16479  04-04-2012 10:01   schema/xmlschema/XMLSchema.dtd
      [jboss-metadata-common-10.0.0.CR1.jar] 16479  09-16-2015 09:18   dtd/XMLSchema.dtd
      [opensaml-core-3.1.1.jar] 16088  03-25-2015 14:19   schema/XMLSchema.dtd
      
       === XMLSchema.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 100693 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/XMLSchema.xsd
      [cxf-core-3.1.2-jbossorg-2.jar] 83892  08-31-2015 16:21   schemas/wsdl/XMLSchema.xsd
      [opensaml-core-3.1.1.jar] 100693  03-25-2015 14:19   schema/XMLSchema.xsd
      
       === xmltooling-config.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 2055 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/xmltooling-config.xsd
      [opensaml-core-3.1.1.jar] 2055  03-25-2015 14:19   schema/xmltooling-config.xsd
      
       === xml.xsd ===
      -rw-rw-r-- 1 rsvoboda rsvoboda 2870 Sep 17 15:20 /home/rsvoboda/TESTING/700DR10/jboss-eap-7.0/docs/schema/xml.xsd
      [jsf-impl-2.2.12-jbossorg-2.jar] 4925  07-29-2015 11:31   com/sun/faces/xml.xsd
      [jboss-servlet-api_3.1_spec-1.0.0.Final.jar] 2922  10-09-2013 15:30   javax/servlet/resources/xml.xsd
      [picketlink-federation-2.5.5.CR1.jar] 4734  08-25-2015 13:19   schema/w3c/xmlschema/xml.xsd
      [xmlsec-2.0.5.jar] 4726  07-10-2015 13:51   bindings/schemas/xml.xsd
      [cxf-core-3.1.2-jbossorg-2.jar] 5840  08-31-2015 16:21   schemas/wsdl/xml.xsd
      [cxf-rt-ws-policy-3.1.2-jbossorg-2.jar] 5829  05-14-2015 15:00   schemas/xml.xsd
      [wss4j-ws-security-stax-2.1.2.jar] 4726  07-14-2015 17:09   schemas/xml.xsd
      [jboss-metadata-common-10.0.0.CR1.jar] 5604  09-16-2015 09:18   schema/xml.xsd
      [opensaml-core-3.1.1.jar] 2870  03-25-2015 14:19   schema/xml.xsd
      

              tomazcerar Tomaž Cerar (Inactive)
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: