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 2009/08/31 11:42:32 UTC

[jira] Updated: (JCR-2282) SQL2 parser may infer type for UncastLiteral from static analysis

     [ https://issues.apache.org/jira/browse/JCR-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-2282:
----------------------------------

    Summary: SQL2 parser may infer type for UncastLiteral from static analysis  (was: SQL2 parser must not infer type for UncastLiteral from static analysis)

Changed summary to better match the issue.

> SQL2 parser may infer type for UncastLiteral from static analysis
> -----------------------------------------------------------------
>
>                 Key: JCR-2282
>                 URL: https://issues.apache.org/jira/browse/JCR-2282
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests, jackrabbit-spi-commons
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The spec says:
> "An UncastLiteral is always interpreted as a Value of property type STRING. A CastLiteral, on the other hand, is interpreted as the string form of a Value of the PropertyType indicated."
> There are also two test cases in NodeNameTest that need to be fixed accordingly: testLongLiteral and testBooleanLiteral

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.