[
https://issues.apache.org/jira/browse/NIFI-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945315#comment-15945315
]
ASF GitHub Bot commented on NIFI-2907:
--------------------------------------
Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/1587
@jvwing OK, got this reviewed. As far as I can tell it all follows exactly
what we write out now. Many thanks for getting this addressed. Sorry it took so
long to review! Got it merged to master now though. Thanks again!
> 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)