Embedded new lines in Rule string literals
------------------------------------------
Key: JENA-68
URL: https://issues.apache.org/jira/browse/JENA-68
Project: Jena
Issue Type: Bug
Components: Reasoners
Reporter: Dave Reynolds
Assignee: Dave Reynolds
Priority: Minor
Parsing rules with string literals with embedded new lines breaks in the case
where the literal just comprises a new line when use "" for but works for ''
form.
As well as, or instead of, fixing this consider supporting \n syntax in rule
sources.
Test rule:
[TestNL: (?x rdf:type http://com.ge.research.sadlNewlineInStrConcat#Thingy),
strConcat("First line
", "Second line: x=", ?x, "
", "Third line
", ?e) -> print(?e)]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira