Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

parseXsltParameters #69

@ksdm2e

Description

@ksdm2e

xslparams are not processed

reason:
The parseXsltParameters in https://github.com/DM2E/dm2e-ws/blob/master/src/main/java/eu/dm2e/utils/XsltUtils.java expects a set of parameters separated by linebreaks (comp. line 64, str.split("\n"));

The corresponding field xslparams is a textfield, where multi-lined content is not possible.

Solution:
Either, change the split param to something like ";"
or change the textfield to textarea.

Additionally, in lines 67-70 you can use
line = line.trim()
instead of regex
line = line.replaceAll("^\\s*", ""); line = line.replaceAll("\\s*$", "");

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions