Closed picimako closed 1 year ago
Citrus Version 4.0.0-M1
Expected behavior During digging in the Citrus code base, I noticed that TransformAction.Builder#xsltFile(String, String) although sets the charset, it is xmlResourceCharset that is set, and not xsltResourceCharset.
xmlResourceCharset
xsltResourceCharset
public Builder xsltFile(String xsltResourcePath, String charset) { this.xsltResourcePath = xsltResourcePath; this.xmlResourceCharset = charset; return this; }
Actual behavior I think xsltFile(String, String) should set the charset in xsltResourceCharset like this:
xsltFile(String, String)
this.xsltResourceCharset = charset;
Test case sample
--
nice catch, that would make sense!
Many thanks! good one! @picimako would you be able to open a fix PR for this! Much appreciated!
@christophd Sure, I'll look into it probably sometime this week.
Citrus Version 4.0.0-M1
Expected behavior During digging in the Citrus code base, I noticed that TransformAction.Builder#xsltFile(String, String) although sets the charset, it is
xmlResourceCharset
that is set, and notxsltResourceCharset
.Actual behavior I think
xsltFile(String, String)
should set the charset inxsltResourceCharset
like this:Test case sample
--