Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4857

Support space chars common in CJK inside item names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.7, 1.5.10
    • 1.9.0, 1.10.0
    • core
    • None

    Description

      Oak (like Jackrabbit) does not allow spaces commonly used in CJK like u3000 (ideographic space) or u00A0 (no-break space) inside a node name, while allowing some of them (the non breaking spaces) at the beginning or end.

      They should be supported for better globalization readiness, and filesystems allow them, making common filesystem to JCR mappings unnecessarily hard. Escaping would be an option for applications, but there is currently no utility method for it (Text.escapeIllegalJcrChars will not escape these spaces), nor is it documented for applications how to do so.

      Attachments

        1. OAK-4857-tests.patch
          4 kB
          Alexander Klimetschek

        Issue Links

          Activity

            People

              reschke Julian Reschke
              alexander.klimetschek Alexander Klimetschek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: