[Dspace-tech] Several concurrent Localizations of default.license, input-forms etc. dont work

2011-10-03 Thread Christian Voelker
Hello,

you know what I am dealing with recently. Localization in DSpace 1.7.2.

I tried this thoroughly in every way I could think about:

https://wiki.duraspace.org/display/DSDOC/Configuration

It reads like this:

 Supporting More Than One Language
 
 Changes in dspace.cfg
 
 Property: webui.supported.locale
 Example Value:webui.supported.locale = en, de
 (…)
 
 Related Files
 
 If you set webui.supported.locales make sure that all the related additional 
 files for each language are available. LOCALE should correspond to the locale 
 set in webui.supported.locales, e. g.: for webui.supported.locales = en, de, 
 fr, there should be:
 
 (…)
 Files to be localized:
 (…)   • [dspace-source]/dspace/config/input-forms_LOCALE.xml
   • [dspace-source]/dspace/config/default_LOCALE.license - should be pure 
 ASCII
 (…)
   • [dspace-source]/dspace/config/emails/change_password_LOCALE
   • [dspace-source]/dspace/config/emails/feedback_LOCALE
   • [dspace-source]/dspace/config/emails/internal_error_LOCALE
   • [dspace-source]/dspace/config/emails/register_LOCALE
   • [dspace-source]/dspace/config/emails/submit_archive_LOCALE
   • [dspace-source]/dspace/config/emails/submit_reject_LOCALE
   • [dspace-source]/dspace/config/emails/submit_task_LOCALE
   • [dspace-source]/dspace/config/emails/subscription_LOCALE
   • [dspace-source]/dspace/config/emails/suggest_LOCALE

This does not work (TM) in XMLUI.

I also tried to constrain language support explicitly for XMLUI using
xmlui.supported.locales = en, de

LICENSE
The only license file displayed as deposit license is default.license.
Hint: If somebody wants to take on the task to fix it, he or she might 
think about finding a more meaningful name such as required.license 
or deposit_license.

INPUT-FORMS
A localized file such as input-forms_de.xml does not get used either.

EMAILS
Localized emails dont get used. This was the same back in DSpace 1.4
when we used JSPUI. It does not work if you leave the english version
as e.g. change_password and add a file change_password_de. 

It does not work if you move change_password to change_password_en and 
add a file change_password_de resulting in a emails template folder
where there is no fallback change_password file left. Even then, the 
change_password_en gets used with a browse set to either de-DE or en-US!

You can even have change_password be the german version and have the
original change_password file moved to change_password_en. The fallback
change_password without locale appended gets ignored with browser 
setting being either de-DE or en-US. Only the change_password_en
gets used.

I guess, the locale is not set for email at all. My whole server
machines default locale is de_DE.UTF-8. It looks as if still, the
locale is assumed to be en for emails so that always the _en version
is closest match an cant ever be overruled. This wont become obvious
to anybody using en as his or her default locale.


I could not judge which these three things is most annoying. License
tend to be read with each word carefully evaluated. We dont have an
english version of our deposit license. So I can live with replacing
the default.license completely. 
With emails, form mails are prone to being filtered as spam anyway
and english form mails are scoring higher in spam filters. But as
long as I dont shut english as an interface language, users should
get their mails in their respective language. It is especially
disappointing that this has not been fixed in years. I remind that
I had reported this already about three years ago.
The input-forms file is also very important because there might be
domain specific alterations of verbiage which might leed to mis-
conception as of what is shown to the visitor.

Bye, Christian



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Vireo on Dspace

2011-10-03 Thread Lewatle Phaladi
Hi All



Is there anyone using vireo on their DSpace instance, the one I have
found online is configured with dspace and immediately when you finish
to install dspace you will have vireo working, the problem is that I
already have dspace and I want to merge only the scipt that controls the
workflow on my existing dspace installation. Here is the link I have
followed http://sourceforge.net/projects/vireo/files/ , I will
appreciate any feedback or input.



Regards,

Lewatle


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Java errors when attempting to start Handle server

2011-10-03 Thread Herbert Lensch
All:

I get the following error when I attempt to start the Handle server
using the command: /dspace/run/handle-server/bin/hdl-server
/dspace/run/handle-server/

java.lang.ClassNotFoundException: org.dspace.handle.HandlePlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at
net.handle.server.HandleStorageFactory.getStorage(HandleStorageFactory.java:76)
at
net.handle.server.HandleStorageFactory.getStorage(HandleStorageFactory.java:35)
at net.handle.server.HandleServer.init(HandleServer.java:505)
at
net.handle.server.AbstractServer.getInstance(AbstractServer.java:87)
at net.handle.server.Main.initialize(Main.java:216)
at net.handle.server.Main.main(Main.java:81)

Can someone point me to where I can find the
org.dspace.handle.HandlePlugin path, and where I might be able to add it to
prevent this error?

Thanks.

-- 


Bert Lensch
  System Support Specialist III
  Information Technology Services - Computer Center
  Georgia Southern University
blen...@georgiasouthern.edu
(912) 478-2395
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XML from dissemination crosswalk

2011-10-03 Thread Jason Stirnaman

I finally solved this by invoking some more Cocoon magic. I just kept my 
generator as is and then added an XSL transform to the Cocoon pipeline that 
copies the generator output and adds DocType. Not super-elegant, but really 
simple. 

Jason 



Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319


 On 9/30/2011 at 04:50 PM, in message 4E86399F.A73 : 5 : 23711, Jason 
 Stirnaman wrote:


I have one (final, I hope) problem. Mark's suggestion is working nicely, except 
that I need to apply a DocType declaration to my output and Saxoutputter 
ignores DTD events. So, while I can use JDOM to apply the declaration, it 
doesn't survive Sax. Is there any other way to render the DocType using JDOM? 
I can set xsl:output in my stylesheet, but then I think I'd have to iterate 
through a collection of items to build a raw document of dim:dim elements and 
then do a second transform somehow invoking a plain ol' XSLT transformer with 
my crosswalk stylesheet to perform a second transform. 
I haven't figured out yet how to setup the plain ol' transformer using my 
stylesheet but it seems it should be something like this 
  DisseminationCrosswalk nlmxwalk = 
(DisseminationCrosswalk)PluginManager.getNamedPlugin(DisseminationCrosswalk.class,nlm);
 


  XSLTransformer nlmtx = nlmxwalk.getTransformer(dissemination); 


  nlmdoc = nlmtx.transform(dimdoc); 


Thanks, 
Jason


Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319


 On 9/21/2011 at 01:49 AM, in message 
 cama9da6i21cxg55eri5twuqdb8z9elp8taj4_7bgmsgosg1...@mail.gmail.com, Mark 
 Diggory mdigg...@atmire.com wrote:


Jason,

Ok, in this case you don't need a packager, what you need is a Cocoon
Generator that renders the Crosswalk to the browser.

Take a look at the OREGenerator...
http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceOREGenerator.java

It will show how to generate the crosswalk into Cocoon.  You'll find
the Cocoons configuration for the ore.xml generator in the default
sitemap.

map:match pattern=metadata/handle/*/*/ore.xml**
map:generate type=DSpaceOREGenerator
map:parameter name=handle
value={1}/{2}/
map:parameter name=extra
value={3}/
/map:generate
map:serialize type=xml/
/map:match

http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/sitemap.xmap


On Tue, Sep 20, 2011 at 2:35 PM, Jason Stirnaman jstirna...@kumc.edu wrote:
 Here's the follow-up to my previous question.

 I have a crude (but useable) XSLT crosswalk (nlm) in DSpace. It transforms
 DIM metadata to fit the NLM Journal Publishing profile. I can test the
 output successfully with OAI-PMH.

 As it turns out, I don't really need to export bitstreams. I just need the
 metadata for a set of items within a collection that would be specified by
 the end-user/Community Owner. So, if I want just the crosswalk output for
 that set of items and I don't want the OAI protocol wrapper or the
 bitstreams, then do I still need a custom packager for that as in Mark's
 IMSCP example? I expect the answer is yes.

 I think what 'm really wanting is to be able to call the crosswalk as a
 method on the collection, in a RESTful way, and return the output as a
 single XML document for the collection containing each of the transformed
 items.

 Conjured example: handle/2271/883/nlm.xml or nlm/handle/2271/883

 Jason


 Jason Stirnaman
 Biomedical Librarian, Digital Projects
 A.R. Dykes Library, University of Kansas Medical Center
 jstirna...@kumc.edu
 913-588-7319



 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2dcopy1
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





--

Mark Diggory @mire Inc.
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.