[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-469) Scanner implementations create invalid switchyard.xml file

Rob Cernich (JIRA) jira-events at lists.jboss.org
Mon Sep 19 13:23:27 EDT 2011


Scanner implementations create invalid switchyard.xml file
----------------------------------------------------------

                 Key: SWITCHYARD-469
                 URL: https://issues.jboss.org/browse/SWITCHYARD-469
             Project: SwitchYard
          Issue Type: Bug
          Components: configuration
            Reporter: Rob Cernich
             Fix For: 0.3


Service scanner implementations create invalid switchyard.xml files when no services are present.  By default, the scanners always contribute a composite element without a targetNamespace attribute.  This results in an invalid switchyard.xml file (targetNamespace must appear on element composite).

The scanner should either:
1.  Not contribute a composite element if no services are found.
2.  Initialize the targetNamespace attribute on the composite element.

It could also be argued that scanners should not be configured if the project does not contain any services.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list