Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1956

Add helper function to (un)escape illegal JCR characters

    Details

      Description

      I have files with names that contain illegal JCR characters (e.g. square brackets).
      Trying to insert them into ModeShape as-is doesn't work of course.
      What about providing an helper function to (un)escape those illegal characters?

      JackRabbit provides such a function: org.apache.jackrabbit.util.Text.escapeIllegalJcrChars()

      According to MODE-1930, such a (non-generic) function has been developed for the DDL sequencer. So I think this should migrate from the DDL sequencer to the common framework.

      Ed: ModeShape has a utility in the 'modeshape-common' library. We should either suggest people use that or provide something in our official API within the org.modeshape.jcr.api package.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  elvisisking Daniel Florian
                  Reporter:
                  dalbani Damiano Albani
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: