jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helio S. P. (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-923) Support arithmetic Operators on search
Date Tue, 15 May 2007 16:31:16 GMT

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

Helio S. P. updated JCR-923:
----------------------------

    Summary: Support arithmetic Operators on search  (was: Supporte arithmetic Operators on
search)

> Support arithmetic Operators on search
> --------------------------------------
>
>                 Key: JCR-923
>                 URL: https://issues.apache.org/jira/browse/JCR-923
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>    Affects Versions: 1.3
>            Reporter: Helio S. P.
>            Priority: Minor
>
> The query languages should support arithmetic operators over propertie values.
> Example 1: find all nodes with a date property foo with date value plus some time duration
that is greater than today:
> In XPath that's:
> //*[op:add-yearMonthDurations(@foo,xs:yearMonthDuration("P3Y3M")) > xs:dateTime('2006-12-31T00:00:00.000Z')]
> it was added 3 years and 3 months in the date value present in propertie foo.
> The example was based on http://www.w3.org/TR/xquery-operators/#func-add-yearMonthDurations

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


Mime
View raw message