Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-68

Embedded new lines in Rule string literals

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Reasoners
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              der Dave Reynolds
              Reporter:
              der Dave Reynolds
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: