jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2282) SQL2 parser must not infer type for UncastLiteral from static analysis
Date Thu, 27 Aug 2009 10:32:59 GMT

    [ https://issues.apache.org/jira/browse/JCR-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748325#action_12748325

Thomas Mueller commented on JCR-2282:

The specification I have (jcr-spec.pdf from content_repository-2_0-pfd-spec.zip) says:
UnquotedLiteral ::= /* String form of a JCR Value, as defined in ยง3.5.4 Conversion of Values
However there is no section 3.5.4. I guess it should be "3.6.4 Property Type Conversion" instead.

> SQL2 parser must not 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
> 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.

View raw message