incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preston Carman (JIRA)" <>
Subject [jira] [Updated] (VXQUERY-34) Basic String Functions
Date Wed, 20 Jun 2012 00:54:42 GMT


Preston Carman updated VXQUERY-34:

    Attachment: BasicStringFunctions2.patch

 I completed three functions: string-length, upper-case and lower-case.

They appear to work correctly, but I am wondering if there is a better way to get code reuse
out of existing classes (UTF8StringWriter) or sharing information between upper and lower
functions (getUpperByteArray and getLowerByteArray).
> Basic String Functions 
> -----------------------
>                 Key: VXQUERY-34
>                 URL:
>             Project: VXQuery
>          Issue Type: Task
>            Reporter: Preston Carman
>              Labels: patch
>         Attachments: BasicStringFunctions2.patch
> The basic string functions to build help with basic queries.
> fn:concat - Concatenates two or more xs:anyAtomicType arguments cast to xs:string.
> fn:string-join - Returns the xs:string produced by concatenating a sequence of xs:strings
using an optional separator.
> fn:substring - Returns the xs:string located at a specified place within an argument
> fn:string-length - Returns the length of the argument.
> fn:upper-case - Returns the upper-cased value of the argument.
> fn:lower-case - Returns the lower-cased value of the argument.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message