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

Preston Carman updated VXQUERY-35:
----------------------------------

    Attachment: StringMatchingFunctions3.patch

Realized I could use the iterators in other places. Now all functions that 
iterator over individual characters use the iterator objects. Seems like 
contains, substring-before and substring-after have some potential for code 
reuse.
                
> 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

        

Reply via email to