[
http://jira.dspace.org/jira/browse/DS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10881#action_10881
]
Kim Shepherd commented on DS-411:
---------------------------------
It gets trickier.. tests that were previously only looking for >0 following
siblings in each of (dc.contributor.author, dc.creator, dc.contributor.*) now
need to check all possible 'author' fields, or there's no proper delimiting
between author names when a record has, for example, a dc:creator and a
dc:contributor.
I've removed the patch and will try and rewrite it to avoid these possible
problems, without breaking name authority (which is, by default, associated
only with dc.contributor.author). Feedback on how people are using
dc.contributor.* in the real world would still be pretty helpful so we can make
sure the default behaviour doesn't negatively impact people.
> XMLUI itemSummaryList-DIM only matches first possible author metadata field
> ---------------------------------------------------------------------------
>
> Key: DS-411
> URL: http://jira.dspace.org/jira/browse/DS-411
> Project: DSpace 1.x
> Issue Type: Bug
> Components: XMLUI
> Reporter: Kim Shepherd
> Assignee: Kim Shepherd
> Priority: Minor
> Fix For: 1.6.0
>
>
> itemSimmaryList-DIM template uses choose/when/otherwise logic to test for
> valid author metadata fields, eg. dc.contributor.author, dc.creator,
> dc.contributor.* -- because of the logic used, any match on a test will cause
> subsequent tests to skip.
> The attached patch replaces this logic with a series of <xsl:if> tests nested
> in a <xsl:choose> which tests for the existence of *any* of the possible
> fields (dc.contributor.author, dc.creator, dc.contributor.*)
> Please give feedback as to whether this is useful.. it fixes some annoying
> bugs experienced when a combination of dc.contributor.author and dc.creator
> is used (or if one has an empty string for a value), but I am concerned my
> fix could affect repositories using dc.contributor.supervisor or
> dc.contributor.advisor, if they don't wish that field to be displayed with
> authors.
--
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
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel