Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2501

Incorrect xmbean 1.1 and 1.2 dtds

XMLWordPrintable

      The dtd jboss_xmbean_1_2 and jboss_xmbean_1_1 are invalid and the injection element cannot be used as it contains :

      <!ELEMENT injection (id , setMethod)>

      however id and setMethod are intended to be used as attributes of the injection element :

      <!ATTLIST injection id (MBeanServerType | MBeanInfoType | ObjectNameType) #REQUIRED >
      <!ATTLIST injection setMethod CDATA #IMPLIED>

      so what's wrong ? the fact that id and setMethod are not declared as ELEMENT in the dtd.

      therefore it is impossible to use the injection tag in an external metadata file (it works for an embedded xmbean as the document is never validated)

              dandread1@redhat.com Dimitrios Andreadis
              julien1_jira julien1 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: