3 Replies Latest reply on Jun 21, 2009 1:52 PM by Wolfgang Knauf

    Microcontainer XSDs not in /docs/schema

    Wolfgang Knauf Master


      some microcontainer related xsd files (bean-deployer_1_0.xsd, bean-deployer_2_0.xsd, jboss-beans-common_2_0.xsd, policy_1_0.xsd) can only be found in /lib/jboss-kernel.jar, but no in the standard location "docs/schema". I think it is more consistent if all xsds/dtds are located there (and in the web).

      I already raised a JIRA (https://jira.jboss.org/jira/browse/JBAS-7034 ) to add the files to http://www.jboss.org/j2ee/schema/ .

      I think there is a problem with imports/includes, which will break validation of xml instances in Eclipse.
      E.g. "bean-deployer_2_0.xsd" contains this:

      <xsd:redefine schemaLocation="jboss-beans-common_2_0.xsd">

      Shouldn't this point to a web location ("http://www.jboss.org/j2ee/schema/jboss-beans-common_2_0.xsd")?
      Same problem with "policy_1_0.xsd" and the import of "urn:jboss:bean-deployer:2.0".

      Shall I raise another JIRA?