You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "James Wing (JIRA)" <ji...@apache.org> on 2017/03/12 00:48:04 UTC

[jira] [Updated] (NIFI-2907) Schema for flow.xml outdated

     [ https://issues.apache.org/jira/browse/NIFI-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Wing updated NIFI-2907:
-----------------------------
    Status: Patch Available  (was: Open)

> Schema for flow.xml outdated
> ----------------------------
>
>                 Key: NIFI-2907
>                 URL: https://issues.apache.org/jira/browse/NIFI-2907
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: James Wing
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)