incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Westmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VXQUERY-35) Functions based on substring matching
Date Thu, 28 Jun 2012 08:13:42 GMT

    [ https://issues.apache.org/jira/browse/VXQUERY-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402922#comment-13402922
] 

Till Westmann commented on VXQUERY-35:
--------------------------------------

I've reviewed the 3rd patch and committed most (but not all) of the functions. I think that
fn:substring-before and fn:substring-after can be written more compactly and for fn:contains
I could not convince myself yet, that it works correctly in all cases. However, I didn't manage
to come up with concrete proposals for improvement so far.
                
> Functions based on substring matching
> -------------------------------------
>
>                 Key: VXQUERY-35
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-35
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>              Labels: patch
>         Attachments: StringMatchingFunctions1.patch, StringMatchingFunctions2.patch,
StringMatchingFunctions3.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> The next set of functions suggested are functions dealing with substring matching. The
details and list can be found at http://www.w3.org/TR/xquery-operators/#substring.functions.
> fn:contains - Indicates whether one xs:string contains another xs:string. A collation
may be specified.
> fn:starts-with - Indicates whether the value of one xs:string begins with the collation
units of another xs:string. A collation may be specified.
> fn:ends-with - Indicates whether the value of one xs:string ends with the collation units
of another xs:string. A collation may be specified.
> fn:substring-before - Returns the collation units of one xs:string that precede in that
xs:string the collation units of another xs:string. A collation may be specified.
> fn:substring-after - Returns the collation units of xs:string that follow in that xs:string
the collation units of another xs:string. A collation may be specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message