I noticed the same problem and reported as https://jira.duraspace.org/browse/DS-885
I fixed it using advice from https://sites.google.com/a/ohiolink.edu/drmc/Home/Subcommittees/DRC-Liaison-Assistance/drc-help-about-pages/xmlui-code-sharing-area/creative-commons
It mentions changing General-Handler.xsl, but we made our changes to item-view.xsl since we're using a modified Mirage theme.
The resulting link acts like jspui.
Hamilton Library, DNS
University of Hawaii at Manoa
Thanks Wendy for your reply.
I noticed that there is a bitstream format of "CC License" already defined and associated to "License_text". Does this mean that the patch is already applied?
I have manually changed the MIME type of CCLicense to "text/html; charset=utf-8" so the page is now rendered as HTML but it is still not what it should be, particularly some links (like the legal codes) are not working.
I think the problem is beyond formatting and rendering issues. Do you think if I apply the patch, the links will also work?
From: Wendy J Bossons [wbossons@MIT.EDU]
Sent: 27 July 2011 19:54
To: Amir Pourabdollah
Subject: Re: [Dspace-tech] Creative Common License Does not Show Properly in xmlui
The format associated with the license text is not correct, which is why it does not display. There is a patch to address that particular issue for 1.6.
See this patch https://jira.duraspace.org/browse/DS-295.
I just completed some work on CCLicense that I hope will be in the upcoming 1.8 release. As part of that, the XMLUI will contain a link to the actual license, rather than storing the license text and trying to display it internally as you point out. I will leave it to the DSpace committers/Release Coordinator to comment on the schedule of the latter.
" I am putting myself to the fullest possible use, which is all I think that any conscious entity can ever hope to do."
Senior Software Engineer
Software Analysis and Development
77 Massachusetts Avenue
Cambridge, MA 02139-4307
On Jul 27, 2011, at 1:42 PM, Amir Pourabdollah wrote:
If a Creatice Common license is attached to an item (in xmlui), the page showing the license does not show properly (looks like an unformatted HTML with no image) and some of the links inside the page (including the Legal Code which is important) do not work and show this error:
org.apache.cocoon.ResourceNotFoundException: Unable to locate bitstream
<map:read type="BitstreamReader"> - context:/jndi:/localhost/xmlui/sitemap.xmap - 268:70
I know that there has been a known bug (http://dspace.2283337.n4.nabble.com/dspace-Bugs-2086708-xmlui-Creative-Commons-not-properly-displayed-td3294853.html ) but I just wonder if somebody in the meantime knows a solution to this. Things are OK in jspui and I wonder why the xmlui tries to show the license as an internal page not just as a link to the CC website.
I have manually copied the necessary css files from the Creative Common website into the similar DSpace folders, now the look is a bit better but the links still don't work.
Please try http://elogeo.nottingham.ac.uk/xmlui/bitstream/handle/url/37/license_text to see what I mean!
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
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.
DSpace-tech mailing list