Petals Ant Tasks

Invalid output returned by the task 'jbi-list-service-engines'

Details

  • Description:
    Hide

    The XML output returned by the Ant task 'jbi-list-service-engines' is not compliant with the XML schema defined by JBI specifications (page 93): the attribute component-info is set to "engine-component" instead of "service-engine"

    <?xml version="1.0" encoding="utf-8"?>
    <component-info-list xmlns="http://java.sun.com/xml/ns/jbi/component-info-list" version="1.0">
       <component-info type="service-engine" name="Test_engine1" state="Started">
          <description>Test engine with shared library.</description>
       </component-info>
       <component-info type="service-engine" name="ant_test_engine2" state="Shutdown">
          <description>Yet another test engine.</description>
       </component-info>
    </component-info-list>
    Show
    The XML output returned by the Ant task 'jbi-list-service-engines' is not compliant with the XML schema defined by JBI specifications (page 93): the attribute component-info is set to "engine-component" instead of "service-engine"
    <?xml version="1.0" encoding="utf-8"?>
    <component-info-list xmlns="http://java.sun.com/xml/ns/jbi/component-info-list" version="1.0">
       <component-info type="service-engine" name="Test_engine1" state="Started">
          <description>Test engine with shared library.</description>
       </component-info>
       <component-info type="service-engine" name="ant_test_engine2" state="Shutdown">
          <description>Yet another test engine.</description>
       </component-info>
    </component-info-list>
  • Environment:
    -

Activity

Christophe DENEUX made changes - Fri, 9 Jan 2015 - 12:14:07 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Fri, 9 Jan 2015 - 12:14:09 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 9 Jan 2015 - 12:15:40 +0100
Description The XML output returned by the Ant task 'jbi-list-service-engines' is not compliant with the XML schema defined by JBI specifications (page 93): the attribute {{component-info}} is set to "engine-component" instead of "service-engine"
{code:xml}
<?xml version="1.0" encoding="utf-8"?>
<component-info-list xmlns="http://java.sun.com/xml/ns/jbi/component-info-list" version="1.0">
   <component-info type="service-engine" name="Test_engine1" state="Started">
      <description>Test engine with shared library.</description>
   </component-info>
   <component-info type="service-engine" name="ant_test_engine2" state="Shutdown">
      <description>Yet another test engine.</description>
   </component-info>
</component-info-list>
{code}
The XML output returned by the Ant task 'jbi-list-service-engines' is not compliant with the XML schema defined by JBI specifications (page 93): the attribute {{component-info}} is set to "{{engine-component}}" instead of "{{service-engine}}"
{code:xml}
<?xml version="1.0" encoding="utf-8"?>
<component-info-list xmlns="http://java.sun.com/xml/ns/jbi/component-info-list" version="1.0">
   <component-info type="service-engine" name="Test_engine1" state="Started">
      <description>Test engine with shared library.</description>
   </component-info>
   <component-info type="service-engine" name="ant_test_engine2" state="Shutdown">
      <description>Yet another test engine.</description>
   </component-info>
</component-info-list>
{code}
Hide
Christophe DENEUX added a comment - Mon, 12 Jan 2015 - 16:24:20 +0100

Fixed in trunk, svn#36663

Show
Christophe DENEUX added a comment - Mon, 12 Jan 2015 - 16:24:20 +0100 Fixed in trunk, svn#36663
Christophe DENEUX made changes - Mon, 12 Jan 2015 - 16:24:20 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.4.1 [ 10521 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
10s
1
Christophe DENEUX
Fri, 9 Jan 2015 - 12:14:07 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Fri, 9 Jan 2015 - 12:14:09 +0100
In Progress In Progress Resolved Resolved
3d 4h 10m
1
Christophe DENEUX
Mon, 12 Jan 2015 - 16:24:20 +0100



People

Dates

  • Created:
    Fri, 9 Jan 2015 - 12:13:57 +0100
    Updated:
    Mon, 12 Jan 2015 - 16:24:20 +0100
    Resolved:
    Mon, 12 Jan 2015 - 16:24:20 +0100