Bugs item #2305040, was opened at 2008-11-17 11:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2305040&group_id=19984
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.5.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robin Taylor (robintaylor)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cant handle mixed case metadata terms
Initial Comment:
There seems to be a restriction on metadata terms being lower case, imposed by
the following code looking for matches after changing the names to lower case.
Can't see a good reason for the 'toLowerCase'.
Cheers, Robin.
(Dspace 1.5.1)
public DCValue[] getMetadata(String mdString)
{
StringTokenizer dcf = new StringTokenizer(mdString, ".");
String[] tokens = { "", "", "" };
int i = 0;
while(dcf.hasMoreTokens())
{
tokens[i] = dcf.nextToken().toLowerCase().trim();
i++;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2305040&group_id=19984
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel