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

Queries on node name fail if the name starts with a number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • core, query
    • None

    Description

      The NodeNameImpl encodes the node name when used in a query via the ISO9075.encode method. [0]

      The problem appears when a node name starts with a number: the encode will turn 123456 into _x0031_23456 thus failing the node name match.

      [0] http://svn.us.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/NodeNameImpl.java?view=markup#l80

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: