Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2061

Don't add id to non-camel xml elements

XMLWordPrintable

      Tooling thinks blueprint.xml contains some camel contest, even though there is no camel element at all.

      It keeps appending id to jaas:config element and though breaking validity of xml file.

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
          xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
          xmlns:enc="http://karaf.apache.org/xmlns/jasypt/v1.0.0" xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0">
          <jaas:config id="config-ec1b2e34-cf0f-4e66-a2cb-e56bd62d148a"
              name="karaf" rank="10">
      

      Deploying to fuse causes

      Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jaas:keystore'. One of '{"http://karaf.apache.org/xmlns/jaas/v1.0.0":module}' is expected.
      

            apupier@redhat.com Aurélien Pupier
            jludvice Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: