Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-119

StringEscapeUtils dropped SQL support but it is not clear if this is intentional or not

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.4

      Description

      The Commons Text user guide indicates StringEscapeUtils supposed SQL as an escape

      http://commons.apache.org/proper/commons-text/userguide.html

      Commons Lang3 indicates the functionality of org.apache.commons.lang3.StringEscapeUtils was moved to Commons Text (which does include SQL escape) and deprecates it's own implementation.

      http://commons.apache.org/proper/commons-text/changes-report.html Provides no insight on the lack of SQL support

       

      I'm not sure the correct path forward, as project intentions aren't clear.  If the project has no intention of supporting SQL, the user-guide should be updated and notes about migrating from commons-lang3 should note that stance.  Additionally if another Java ASF project is providing that functionality it should be indicated.  If this is an oversight on inclusion in the Commons Text project, then I guess this is a missing feature request.

      Thanks for all the great work

       

        Attachments

          Activity

            People

            • Assignee:
              pascalschumacher Pascal Schumacher
              Reporter:
              scott.markwell Scott Markwell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: