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

FmtUtils.stringForNode() does not escape tab characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • ARQ 2.9.0
    • ARQ 2.9.1
    • ARQ
    • None

    Description

      FmtUtils.stringForNode() delegates literal formatting to FmtUtils.stringForLiteral() which delegates string escaping to stringEsc()

      The issue is that the whitespace escaping section has code to deal with escaping tab characters but has a logical flaw which means tab characters won't hit that code path, the if statement surrounding the white space escapes section checks for the other kinds of whitespace characters but not for tab

      Attachments

        1. FmtUtilsTabEscaping.patch
          2 kB
          Rob Vesse

        Activity

          People

            andy Andy Seaborne
            rvesse Rob Vesse
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified