DCPersonName parses name incorrectly (fix included)
---------------------------------------------------
Key: DS-232
URL: http://jira.dspace.org/jira/browse/DS-232
Project: DSpace 1.x
Issue Type: Bug
Components: DSpace API
Affects Versions: 1.5.2
Environment: Sun Java 1.5, MacOSX, Oracle.. not htat it matters..
Reporter: Larry Stone
Attachments: DCPersonName.java.diff.txt
When parsing a name string (e.g. value of dc.contributor.author metadata field)
DCPersonName assumes the last name is followed by a comma AND A SPACE. If the
space is missing, it eats the first character of the firstname(s).
The attached patch fixes it, and deals with any other whitespace issues around
the comma so the format is more liberal: lastname can be followed by arbitrary
whitespace, then a comma, then firstname(s).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel