Petals CDK

Wrong sequence of parameters in jbi.xml is validated anyway

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Duplicate
  • Affects Version/s: 5.0.3
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When creating a BC with the Petals Maven plug-in, the jbi.xml of the created component contains the following sequence.

    <petalsCDK:jbi-listener-class-name>org.ow2.petals.bc.t.listeners.JBIListener</petalsCDK:jbi-listener-class-name>
    <petalsCDK:external-listener-class-name>org.ow2.petals.bc.t.listeners.ExternalListener</petalsCDK:external-listener-class-name>

    With respect to the XML schema defined in the CDK, this sequence sub-set is invalid.
    These two parameters should be written in the reverse order. This is the case for all the jbi.xml of Petals components.

    The problem is also that the CDK does not throw an error when it finds this sequence.
    There is a single bug with 3 facets:

    • The CDK does not throw an error when it finds an invalid sequence of parameters.
    • The Petals Maven plug-in does not generate valid jbi.xml for components.
    • The jbi.xml of almost all the Petals components are invalid.
    Show
    When creating a BC with the Petals Maven plug-in, the jbi.xml of the created component contains the following sequence. <petalsCDK:jbi-listener-class-name>org.ow2.petals.bc.t.listeners.JBIListener</petalsCDK:jbi-listener-class-name> <petalsCDK:external-listener-class-name>org.ow2.petals.bc.t.listeners.ExternalListener</petalsCDK:external-listener-class-name> With respect to the XML schema defined in the CDK, this sequence sub-set is invalid. These two parameters should be written in the reverse order. This is the case for all the jbi.xml of Petals components. The problem is also that the CDK does not throw an error when it finds this sequence. There is a single bug with 3 facets:
    • The CDK does not throw an error when it finds an invalid sequence of parameters.
    • The Petals Maven plug-in does not generate valid jbi.xml for components.
    • The jbi.xml of almost all the Petals components are invalid.
  • Environment:
    All

Issue Links

People

Dates

  • Created:
    Thu, 8 Jul 2010 - 12:00:18 +0200
    Updated:
    Thu, 9 Sep 2010 - 13:50:57 +0200
    Resolved:
    Thu, 9 Sep 2010 - 13:48:43 +0200