pvillard31 commented on code in PR #10679:
URL: https://github.com/apache/nifi/pull/10679#discussion_r2642854524


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/java/org/apache/nifi/web/controller/StandardContentViewerController.java:
##########
@@ -112,8 +112,6 @@ public void doGet(final HttpServletRequest request, final 
HttpServletResponse re
 
                     final StandardTransformProvider transformProvider = new 
StandardTransformProvider();
                     transformProvider.setIndent(true);
-                    transformProvider.setOmitXmlDeclaration(true);
-

Review Comment:
   I do think it's better to have the XML header but I don't feel strongly 
about it so whatever you think is best.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to