Share

XSpace

Tracker: Feature Requests

5 Add XSpace Key validation class - ID: 1649117
Last Update: Comment added ( kungfu_grip )

Need a class to validate XSpace Keys.

Spec as follows:

<key> := <rootItem> | <item>*
<rootItem> := /
<item> := /<alphanumeric char>*
<alphanumeric char> := Any character except /. Must begin with space and
must not be all spaces.

Examples of valid keys:

/
/aaa
/aaa/bbbb/cccc
/aaa aaa/bbbb/ccc ccc
/a10/bbbb/102c
/aa_100/bb-100/cc
/123/bbb/'ccc dddd
/"kkk'|kdk;, s -- This is not likely but we'll consider it
valid

Examples of invalid keys:

//
/aaaa/
/aaa//bbbb
/aaa
/ aaa/bbb
/ /bbb
/aaa/ bbb/ccc
/aaa/ /ccc


Rob Tan ( rcktan ) - 2007-01-31 19:01

5

Closed

None

jay

General

None

Public


Comment ( 1 )




Date: 2007-02-04 13:45
Sender: kungfu_grip


Tested, Code reviewed, and added to the project.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2007-02-04 13:45 kungfu_grip
close_date - 2007-02-04 13:45 kungfu_grip