You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2005/06/22 10:14:17 UTC

[jira] Created: (JCR-143) Query for string literal broken when literal can be coerced into other type

Query for string literal broken when literal can be coerced into other type
---------------------------------------------------------------------------

         Key: JCR-143
         URL: http://issues.apache.org/jira/browse/JCR-143
     Project: Jackrabbit
        Type: Bug
  Components: query  
 Environment: svn revision: 191782
    Reporter: Marcel Reutegger
 Assigned to: Marcel Reutegger 
    Priority: Minor


When a string literal can be coerced into another type (e.g. integer) a property of type string that matches the literal is not found.

E.g. the following query will match prop if its value is the string '1234'.
//*[@prop = '1234']

The query should match properties with string value '1234' and integer value 1234.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-143) Query for string literal broken when literal can be coerced into other type

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-143?page=all ]
     
Marcel Reutegger resolved JCR-143:
----------------------------------

    Resolution: Fixed

Fixed in revision: 191784

> Query for string literal broken when literal can be coerced into other type
> ---------------------------------------------------------------------------
>
>          Key: JCR-143
>          URL: http://issues.apache.org/jira/browse/JCR-143
>      Project: Jackrabbit
>         Type: Bug
>   Components: query
>  Environment: svn revision: 191782
>     Reporter: Marcel Reutegger
>     Assignee: Marcel Reutegger
>     Priority: Minor

>
> When a string literal can be coerced into another type (e.g. integer) a property of type string that matches the literal is not found.
> E.g. the following query will match prop if its value is the string '1234'.
> //*[@prop = '1234']
> The query should match properties with string value '1234' and integer value 1234.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-143) Query for string literal broken when literal can be coerced into other type

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-143?page=all ]
     
Marcel Reutegger closed JCR-143:
--------------------------------


> Query for string literal broken when literal can be coerced into other type
> ---------------------------------------------------------------------------
>
>          Key: JCR-143
>          URL: http://issues.apache.org/jira/browse/JCR-143
>      Project: Jackrabbit
>         Type: Bug
>   Components: query
>  Environment: svn revision: 191782
>     Reporter: Marcel Reutegger
>     Assignee: Marcel Reutegger
>     Priority: Minor

>
> When a string literal can be coerced into another type (e.g. integer) a property of type string that matches the literal is not found.
> E.g. the following query will match prop if its value is the string '1234'.
> //*[@prop = '1234']
> The query should match properties with string value '1234' and integer value 1234.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira