You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/09/04 19:48:52 UTC

[jira] [Created] (OAK-1000) Queries on node name fail if the name starts with a number

Alex Parvulescu created OAK-1000:
------------------------------------

             Summary: Queries on node name fail if the name starts with a number
                 Key: OAK-1000
                 URL: https://issues.apache.org/jira/browse/OAK-1000
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, query
            Reporter: Alex Parvulescu


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Created] (OAK-1000) Queries on node name fail if the name starts with a number

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Sep 4, 2013 at 1:48 PM, Alex Parvulescu (JIRA) <ji...@apache.org> wrote:
> Alex Parvulescu created OAK-1000:

That's a nice milestone, congrats!

BR,

Jukka Zitting