[ 
https://jira.duraspace.org/browse/DS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21331#action_21331
 ] 

David Chandek-Stark edited comment on DS-967 at 7/27/11 9:07 PM:
-----------------------------------------------------------------

A possible solution: replace line 227 of item-view.xsl with:

<xsl:when test="$clause = 5 and (dim:field[@element='description' and 
@qualifier='abstract' and descendant::text()])">

      was (Author: dchandekstark):
    A possible solution: replace line 227 of item-view.xsl with:

<xsl:when test="$clause = 5 and (dim:field[@element='description' and 
@qualifier='abstract']/descendant-or-self::node()/text())">
  
> Item view in Mirage theme generates self-closing <div/> when abstract is empty
> ------------------------------------------------------------------------------
>
>                 Key: DS-967
>                 URL: https://jira.duraspace.org/browse/DS-967
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.7.1
>            Reporter: David Chandek-Stark
>
> Line 226 ff. of lib/xsl/aspect/artifactbrowser/item-view.xsl.  If abstract 
> element is present but empty, resulting output is empty <div/> element, which 
> throws off layout (FF5 and Chrome 12.0.742.122 tested).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to