Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2907

Schema for flow.xml outdated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • Core Framework
    • None

    Description

      The schema that the framework uses to validate the flow.xml file is outdated. It does not account for the the 'template' element in the flow. As a result, it logs the following error on startup, within the bootstrap.log file:

      2016-10-17 09:45:12,784 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :10:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '

      {processor, inputPort, outputPort, label, funnel, processGroup, remoteProcessGroup, connection, controllerService}

      ' is expected.

      We should add the 'template' element to the schema and ensure that all other elements are accounted for

      Attachments

        Issue Links

          Activity

            People

              jameswing James Wing
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: