exceptionfactory commented on code in PR #11124:
URL: https://github.com/apache/nifi/pull/11124#discussion_r3074738120


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/TransformXml.java:
##########
@@ -98,20 +100,27 @@ public class TransformXml extends AbstractProcessor {
             "XSLT Lookup key"
     );
 
-    public static final PropertyDescriptor XSLT_FILE_NAME = new 
PropertyDescriptor.Builder()
-            .name("XSLT File Name")
-            .description("Provides the name (including full path) of the XSLT 
file to apply to the FlowFile XML content."
-                    + "One of the 'XSLT file name' and 'XSLT Lookup' 
properties must be defined.")
+    private static final List<String> OBSOLETE_XSLT_FILE_NAME = List.of(
+            "XSLT file name",
+            "XSLT File Name"
+    );
+
+    public static final PropertyDescriptor XSLT_CONTENT = new 
PropertyDescriptor.Builder()
+            .name("XSLT Content")
+            .description("""

Review Comment:
   Instead of `XSLT Content`, something like `XSLT Document` seems like a 
better option.



-- 
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