You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/04 16:19:00 UTC

[jira] [Commented] (NIFI-5192) Allow expression language in 'Schema File' property for ValidateXML processor

    [ https://issues.apache.org/jira/browse/NIFI-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500447#comment-16500447 ] 

ASF GitHub Bot commented on NIFI-5192:
--------------------------------------

Github user mattyb149 commented on the issue:

    https://github.com/apache/nifi/pull/2699
  
    I took the liberty of adding the missing evaluateAttributeExpressions() call, the unit tests pass at that point but if Expression Language is present, then we can't count on the File Exists Validator to catch missing schema files. I added a check for file.exists() and unit tests for valid and invalid (with EL). Feel free to cherry-pick https://github.com/mattyb149/nifi/commit/a452382bed64cd4ddda69711e7382829726503ee into your branch and push back up here for review, or @MikeThomsen if you're cool with it you could just cherry pick his and my commits from https://github.com/mattyb149/nifi/tree/NIFI-5192 before merge.


> Allow expression language in 'Schema File' property for ValidateXML processor 
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-5192
>                 URL: https://issues.apache.org/jira/browse/NIFI-5192
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Bartłomiej Tartanus
>            Priority: Minor
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Is there any reason that ValidateXML processor doesn't allow expression language in 'Schema File' property? If no it would be useful to allow this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)