Siegfried Goeschl created FREEMARKER-173:
--------------------------------------------
Summary: Allow to pass arbitrary key/value pairs to DataSource
when using NamedURIs
Key: FREEMARKER-173
URL: https://issues.apache.org/jira/browse/FREEMARKER-173
Project: Apache Freemarker
Issue Type: Improvement
Reporter: Siegfried Goeschl
Assignee: Siegfried Goeschl
On the command line a "NamedUri" is used to define data sources to be created
{noformat}
users.csv
file:///users.csv
users=users.csv
name:group=users.csv
users=file:///users.txt#charset=UTF-16&mimetype=text/csv
http://google.com#charset=UTF-16
{noformat}
The current implementation supports picking up the following parameters to be
passed to a DataSource (found in the fragment part)
* charset
* mimetype
It make sense to parse arbitrary name/value pairs and pass it to the DataSource
being created.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)