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

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

Github user scottyaslan commented on the issue:

    https://github.com/apache/nifi/pull/2098
  
    @pvillard31 I am not sure if I am testing this PR correctly... I dropped a 
GenerateFlowFile processor on the canvas and had it generate a FF with some XML 
text. Then I connected that to an UpdateAttribute processor and set the 
mime.type to 'text/xml'. If I view the contents of a FF coming out of the 
UpdateAttribute processor a new tab opens with the content viewer and the 
message: 'No viewer is registered for this content type.'. I would think that I 
should be able to view the xml in the code mirror editor. Now, if I stop the 
processors and edit the mime.type of the UpdateAttribute config to 
'application/xml' and then restart and click to view content of a FF now coming 
out of the UpdateAttribute processor then a new tab opens with the content 
viewer and the xml is visible in the code mirror editor. 
    
    Thoughts?


> Support text/xml in the content view ui
> ---------------------------------------
>
>                 Key: NIFI-1835
>                 URL: https://issues.apache.org/jira/browse/NIFI-1835
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core UI
>            Reporter: Devin Fisher
>            Assignee: Pierre Villard
>            Priority: Minor
>
> Currently, the content view supports application/xml mime type. This support 
> is nice when dealing with XML (especially the formatted view). But this 
> content viewer does not seem to support the text/xml mime type even though it 
> is the same as application/xml.
> I'm using a work around of using UpdateAttribute to change the mime.type 
> attribute to appliaction/xml.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to