[
https://issues.apache.org/jira/browse/NIFI-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945155#comment-15945155
]
Joseph Witt commented on NIFI-2907:
-----------------------------------
this one definitely needs a thoughtful review. James put some awesome
documentation/explanation behind his work but this is in the critical section
of handling so calling out for reviewer assistance as this looks like it should
be in 1.2.0
> 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)