[Dspace-tech] [KE1019161] Adding new metadata formats to OAI interface

2012-12-13 Thread marco . weiss

Hi all,

i have installed DSpace 3.0 and playing around with the OAI interface today.
I have added a new MetadataFormat in xoai.xml like this.

 Format id=epicur
 Prefixepicur/Prefix
 XSLTmetadataFormats/epicur.xsl/XSLT
 Namespaceurn:nbn:de:-2004033116/Namespace
 SchemaLocationurn:nbn:de:-2004033116  
http://www.persistent-identifier.de/xepicur/version1.0/xepicur.xsd/SchemaLocation
 /Format

Than copied over the oai_dc.xsl to epicur.xsl and modified it.
After restarting tomcat and cleaning cache i had a look at the XML  
output in my browser and it looks like i'm getting every time the  
whole output of the for-each instead of just the single value with  
this code. Output looks like this

?xml version=1.0 encoding=utf-8??xml-stylesheet type=text/xsl  
href=static/style.xsl?OAI-PMH  
xmlns=http://www.openarchives.org/OAI/2.0/;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/  
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd;responseDate2012-12-13T08:46:47Z/responseDate
 request verb=GetRecord identifier=oai:urntest:123456789/4  
metadataPrefix=epicurhttp://10.2.46.252:8080/oai/request/request
 GetRecord
 record
 header
 identifieroai:urntest:123456789/4/identifier
 datestamp2012-12-12T08:13:57Z/datestamp
 setSpeccom_123456789_1/setSpec
 setSpeccol_123456789_2/setSpec
 /header
 metadataepicur xmlns=urn:nbn:de:-2004033116  
xmlns:xlink=http://www.w3.org/TR/xlink/;  
xmlns:mets=http://www.loc.gov/METS/;  
xmlns:doi=http://www.d-nb.de/standards/doi/;  
xmlns:hdl=http://www.d-nb.de/standards/hdl/;  
xmlns:urn=http://www.d-nb.de/standards/urn/;  
xmlns:dc=http://purl.org/dc/elements/1.1/;  
xmlns:dim=http://www.dspace.org/xmlns/dspace/dim;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
xmlns:epicur=urn:nbn:de:-2004033116  
xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/oai_dc/  
http://www.openarchives.org/OAI/2.0/oai_dc.xsd;
administrative_data
delivery
update_status type=urn_new/
/delivery
/administrative_data
record
title xmlns=
Vorname, Nachname 2012-12-12T06:55:31Z 2012-12-12T06:55:31Z 2012-12-12  
http://hdl.handle.net/123456789/4 6cbfa16d-a865-4dc3-bd31-e9d4f7c12e4f  
Submitted by () on 2012-12-12T06:55:30Z#13; No. of bitstreams: 1#13;  
Pfirsich2.JPG: 1222120 bytes, checksum:  
c6d000aad2f44e813d5c880870d50a3e (MD5) Made available in DSpace on  
2012-12-12T06:55:31Z (GMT). No. of bitstreams: 1#13; Pfirsich2.JPG:  
1222120 bytes, checksum: c6d000aad2f44e813d5c880870d50a3e (MD5) de  
Seria;Zähler Titel Anderer Titel Book ORIGINAL Pfirsich2.JPG  
Pfirsich2.JPG image/jpeg 1222120 c6d000aad2f44e813d5c880870d50a3e MD5  
1 LICENSE license.txt license.txt text/plain; charset=utf-8 1748  
8a4605be74aa9ea9d79846c1fba20a33 MD5 2 123456789/4  
oai:urntest:123456789/4 2012-12-12 08:13:57.672
/title
/record
/epicur
/metadata
 /record
 /GetRecord
/OAI-PMH

Can you provide me a way or documentation from which i can learn how  
to select just the title and not the whole metadata?


Best regards
Marco

?xml version=1.0 encoding=utf-8 ?
xsl:stylesheet
 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
 xmlns:dim=http://www.dspace.org/xmlns/dspace/dim;
 xmlns:dc=http://purl.org/dc/elements/1.1/;
 xmlns:urn=http://www.d-nb.de/standards/urn/;
 xmlns:hdl=http://www.d-nb.de/standards/hdl/;
 xmlns:doi=http://www.d-nb.de/standards/doi/;
 xmlns:epicur=urn:nbn:de:-2004033116
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=urn:nbn:de:-2004033116  
http://www.persistent-identifier.de/xepicur/version1.0/xepicur.xsd;
 xmlns:mets=http://www.loc.gov/METS/;
 xmlns:xlink=http://www.w3.org/TR/xlink/;
 version=1.0
 xsl:output omit-xml-declaration=yes method=xml indent=yes /

 xsl:template match=text()/
 xsl:template match=/
 epicur xmlns=urn:nbn:de:-2004033116
 xmlns:epicur=urn:nbn:de:-2004033116
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  
xsi:schemaLocation=urn:nbn:de:-2004033116  
http://www.persistent-identifier.de/xepicur/version1.0/xepicur.xsd;

 administrative_data
 delivery
 update_status type=urn_new/
 /delivery
 /administrative_data
 record

 xsl:call-template name=urn/

 /record
 /epicur
 /xsl:template

 xsl:template name=urn
 xsl:for-each  

Re: [Dspace-tech] Error Importing UTF-8 encoded file (some Chinese Characters)..

2012-12-13 Thread helix84
On Thu, Dec 13, 2012 at 2:24 AM, brian.t brian88mail-l...@yahoo.com wrote:
 So, if the metadata content does have the special characters such as '' (or
 symbols) it will have to be enclosed in quotes or use HTML code, e.g. amp;
 for ''. Is that correct?

That has really nothing to do with DSpace, but with XML. You can't use
quotes, you have to properly encode these characters (called
entities), so yes,  would be encoded as amp;. DSpace will get back
. You can use standard XML tools to check for XML validity, for
example xmllint.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error Importing UTF-8 encoded file (some Chinese Characters)..

2012-12-13 Thread marco . weiss
Hi Helix,

thank you for your answare. I found the failure in the meanwhile. I  
forgot an xmlns ;)
But maybe you can tell me how i can get only the handle ID like  
123456789/123 without the http://hdl.handle.net printed in my XML.


Regards,
Marco



Zitat von helix84 heli...@centrum.sk:

 On Thu, Dec 13, 2012 at 2:24 AM, brian.t brian88mail-l...@yahoo.com wrote:
 So, if the metadata content does have the special characters such as '' (or
 symbols) it will have to be enclosed in quotes or use HTML code, e.g. amp;
 for ''. Is that correct?

 That has really nothing to do with DSpace, but with XML. You can't use
 quotes, you have to properly encode these characters (called
 entities), so yes,  would be encoded as amp;. DSpace will get back
 . You can use standard XML tools to check for XML validity, for
 example xmllint.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:  
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Mvn package build fail

2012-12-13 Thread mErRYo
I am using dspace 3.0 release and my maven build is failing when i try to run 
this command
mvn -Ddb.name=oracle package

I am using oracle 11g XE with oracle Linux and maven is 3.x


error it throws is :
Failed to execute goal on project additions: Could not resolve dependencies for 
project org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced

detail trace is:

[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project additions: Could not resolve dependencies for project 
org.dspace.modules:additions:jar:3.0: Failure to find 
com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not 
resolve dependencies for project org.dspace.modules:additions:jar:3.0: Failure 
to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
    ... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: 
Failure to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype-releases has elapsed or updates are forced
    at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
    at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
    ... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure 
to find com.oracle:ojdbc6:jar:11.2.0.2 in 
http://oss.sonatype.org/content/repositories/releases/ was cached in the local 
repository, resolution 

Re: [Dspace-tech] Home Paage theme and metadata fields

2012-12-13 Thread Darren Arsenault
Hi Parul,

The location of the Messages.properties file is irrelevant given the changes 
that you want to make. You will have to make code changes in the ItemTag.java 
file—in the render() and renderFull() methods. The dc fields aren't being 
appended in that section, they are being displayed as they are mapped dc.x.x = 
value. It is the simple item view that is rendering a masked value, such as 
author. At the database level, it is not stored as author, Bob, it is 
stored as dc.contributor, Bob. If you want it to display anything else, 
you have to tell it what to display. That addresses items #1, 2, and 3 from 
your list.

For #4, that involves code changes to the home.jsp file, and the layout files. 
The layout files are under the folder layout, and include the 
default-header.jsp, default-navbar.jsp, etc. You can edit any text or section 
that you wish, a quick glance at the code should indicate to you where you want 
to make your changes.

If you want step-by-step details on making layout changes, check the Wiki—all 
of the required information is there.

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8


From: Parul dubey [parul.du...@itsl.in]
Sent: December-13-12 1:13 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Home Paage theme and metadata fields


Hi

Still not able to do any changes:

1.   Please specify the location of  Message. properties file .

The problem is  ,  as we view any submissions metadata fields , it looks ok but 
when we click to  Show Full Item Record it shows the metadata value having 
fields  name as  dc.contributor.author  ,  dc.description.abstract  what I want 
to do is to  remove the term dc.contributor , dc.description which is appended 
to the fields and view it as simply author , abstract.

2.  Also want to know is to possible to remove particular fields while  
viewing the full Metadata records(ex: field named Subject).

3.  Remove the heading named Language and its value from Full meta data 
fields

Summarizing all the above points I want to view full metadata fields like the 
simple metadata fields only.

4.   I just want to remove all the content   specified in the right 
(center) of DSpace Home Page  DSPace is Live , Search  , Communities  and add 
our own information ,  also rather than having  three blocks there want to have 
only one block only.

Kindly suggest how to resolve these issues as I m working on a project and 
these are requirements which needs to resolve as soon as possible.
Also refer to the screenshots attached.

Thanks in Advance
Parul Dubey





From: shekhar [mailto:shekhar252...@yahoo.co.in]
Sent: Tuesday, December 11, 2012 10:41 AM
To: Parul dubey
Subject: Re: [Dspace-tech] Uploading multiple documents during a submission

Hi Parul

1. Add dc.contributor= whatever you want to display on Message.properties file.
2. This is the programming effort. if you want to remove these things you have 
to change in
home .jsp in 
DSpacesource\dspace-jspui\dspace-jspui-webapp\target\dspace-jspui-webapp-1.6.1
as well as required jsps in 
DSpacesource\dspace-jspui\dspace-jspui-webapp\target\dspace-jspui-webapp-1.6.1\layout
locations.

Please note that i am not the part of the Dspace-tech team.when you mail me 
please dont cc to
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net. it 
is my personel mail id and whatever i suggest you with my exp.

thanks a lot.



--
Shekhar
From: Parul dubey parul.du...@itsl.in
To: 'shekhar' shekhar252...@yahoo.co.in
Cc: dspace-tech@lists.sourceforge.net
Sent: Monday, 10 December 2012 4:16 AM
Subject: RE: [Dspace-tech] Uploading multiple documents during a submission

Thanks for your reply..
1.   Please suggest how to remove the  dc .contributor  text while viewing 
the metadata .
Also is there a possibility to restrict the metadata fields  view to particular 
users.i.e  User 1 would able to see particular  metadata fields and User 2  the 
remaining ones.
2.   Also how to remove the DSPace at my university , Search , Communities 
complete block from home page. i.e. to fully customize the home page

DSapce version 1.8.2
JSPUI
Operating Systems : Windows


Thanks
Parul


From: shekhar [mailto:shekhar252...@yahoo.co.in]
Sent: Monday, December 10, 2012 11:35 AM
To: parul.du...@itsl.in
Subject: Re: [Dspace-tech] Uploading multiple documents during a submission

Hi Parul

1. You can upload more than one document when uploading the bitstream.

2. Add it on Message.properties file,

3. change the content of news-side.html and news-top.html file.

--
Shekhar
From: Parul Dubey parul.du...@itsl.in
To: dspace-tech@lists.sourceforge.net
Sent: Friday, 7 December 2012 10:02 PM
Subject: [Dspace-tech] Uploading multiple documents during a submission

Hi All

1.   How to upload multiple documents during the submission of an Item.For 
ex:
  I have to submit details regarding an event having 10 

Re: [Dspace-tech] Mvn package build fail

2012-12-13 Thread Mark H. Wood
On Thu, Dec 13, 2012 at 04:46:35AM -0800, mErRYo wrote:
 I am using dspace 3.0 release and my maven build is failing when i try to run 
 this command
 mvn -Ddb.name=oracle package
 
 I am using oracle 11g XE with oracle Linux and maven is 3.x
 
 
 error it throws is :
 Failed to execute goal on project additions: Could not resolve dependencies 
 for project org.dspace.modules:additions:jar:3.0: Failure to find 
 com.oracle:ojdbc6:jar:11.2.0.2 in 
 http://oss.sonatype.org/content/repositories/releases/ was cached in the 
 local repository, resolution will not be reattempted until the update 
 interval of sonatype-releases has elapsed or updates are forced

Oracle does not post JARs to Maven Central (or any other
Maven-compatible archive that I know of) so Maven can't get it for
you automagically.  You need to collect this one from Oracle's web
site (after agreeing to their license) and put a copy in your local
repository manually.  It appears that this has not yet been done.

If it were me, once I had the JAR (let's say it is
ojdbc6-11.2.0.2.0.jar) I'd use a command like this:

  mvn install:install-file \
  -DgroupId=com.oracle \
  -DartifactId=ojdbc6 \
  -Dversion=11.2.0.2 \
  -Dfile=ojdbc6-11.2.0.2.0.jar

In fact it appears that I did, once upon a time.  But I hardly ever
have to do this, and thus don't remember it very well, so the command
may need some adjustment.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
There's an app for that:  your browser


pgpLaR47DzXZl.pgp
Description: PGP signature
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Error Importing UTF-8 encoded file (some Chinese Characters)..

2012-12-13 Thread helix84
On Thu, Dec 13, 2012 at 10:36 AM,  marco.we...@kesslernetworks.de wrote:
 thank you for your answare. I found the failure in the meanwhile. I
 forgot an xmlns ;)

Hi Marco,

my email actually wasn't a response to your question about an OAI
crosswalk (which I didn't try yet), but to Brian's question about
ItemImporter.

 But maybe you can tell me how i can get only the handle ID like
 123456789/123 without the http://hdl.handle.net printed in my XML.

Something like this should help (I didn't test it, though):

xsl:value-of select=substring(dim:field[@mdschema='dc' and
@element='identifier' and @qualifier='uri'], 22) /

22 is length of this string: http://hdl.handle.net/;


When you have your crosswalk finished, we could include it DSpace,
provided that you have a schema describing it. Just file a Jira issue
and include your stylesheet as an attachment.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Mvn package build fail

2012-12-13 Thread helix84
On Thu, Dec 13, 2012 at 1:46 PM, mErRYo merryob...@yahoo.com wrote:
 I am using dspace 3.0 release and my maven build is failing when i try to run 
 this command
 mvn -Ddb.name=oracle package

The correct installation procedure for Oracle is described in the
official documentation:

https://wiki.duraspace.org/display/DSDOC3x/Installation


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unwanted errors in Cocoon.log

2012-12-13 Thread Tim Donohue
Hi Ian,

Just now saw this thread about the ugly 404 error page  logs in DSpace 
XMLUI / Cocoon.

You may already be aware of when/why this came about. But, I figured I'd 
fill in some history just in case you (or others) are not.

Essentially, prior to DSpace 1.8.x, DSpace XMLUI actually had a nicer 
looking XMLUI Page Not Found Error page. It just simply said page not 
found and looked like every other page in your XMLUI theme.

However, then we discovered that Apache Cocoon was responding with 200 
OK on *every error page* in the XMLUI, see this ticket
https://jira.duraspace.org/browse/DS-768

Essentially, the only resolution we were able to come up with was to 
actually patch Apache Cocoon to throw the proper 404 error. So we 
created a patched copy of the Cocoon code which was throwing 200 instead 
of 404.  That patched code is maintained here: 
https://github.com/DSpace/dspace-cocoon-servlet-service-impl

Unfortunately though, in our patching of this Cocoon bug, we were not 
able to get our nicer looking Page Not Found error page to display 
again...instead, we were left with the ugly error page you see now. 
That patch to Cocoon may have also been the cause of the messages you 
are seeing in the Cocoon.log.

There may be ways to fix this  clean up both the Page Not Found error 
page and limit the output in the Cocoon.log. I haven't looked into it in 
some time. But, if you find anything that works for you, I'd highly 
encourage you to send us a Pull Request or a patch -- I think this is 
something we'd all like to see fixed.

Not sure if this info will be of help. But, at least know you know the 
full story of where this issue began.

- Tim

On 12/12/2012 3:42 AM, Ian Boston wrote:
 On 12 December 2012 20:15, helix84 heli...@centrum.sk wrote:
 Hi Ian,

 I don't know about shortening the stacktrace, but that's a pretty
 generic Java question so you may try googling around.

 I dont think there is a way other than changing the Cocoon code,
 blocking the logger or not throwing the exception and setting a 404
 status code in the Dspace code. I might just do the latter.


 To answer at least a part of your question, this is where 404s are
 handled in Cocoon. You may want to edit the XSL to filter what you
 send to the user for specific exceptions and leave the rest (the
 unexpected ones) as stacktraces.

 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/sitemap.xmap#L673


 Ok, thanks for the pointer.

 Ian



 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Statistics question

2012-12-13 Thread Tim Donohue
Hi Andrea,

Just a friendly request -- if this fix helps with performance for both 
you  Ian, would you be willing to submit a Pull Request?  I'd like to 
see this get into DSpace 3.1 as a bug fix, if it's a worthwhile 
improvement to the performance of stats logging.

Thanks,

- Tim

On 12/12/2012 11:41 PM, Ian Boston wrote:
 (resending due to a list bounce, Andrea you will have got this
 already, no need to read twice :))

 On 13 December 2012 13:53, Andrea Schweer schw...@waikato.ac.nz wrote:
 Hi,

 On 13/12/12 15:33, Andrea Schweer wrote:
 On 13/12/12 15:20, Ian Boston wrote:
 UsageActionLogger.act consumes 2/3 of the time spent in the request
 and all of that is in SolrLogger.storeParents
 If I remember right then I have a local customisation somewhere that
 eliminates this. I'll check whether I can find it and will get back to you.

 Here you go:
 https://github.com/aschweer/DSpace/commit/de80eb6545fbfc411a37c901de7a8ed856ff735e
 -- this is against master; I've only tested it with 1.8.2. Does this
 help improve performance?

 Andrea,
 Yes makes a difference, not quite as much as removing the actions from
 the sitemap, but certainly better than the default.

 I think I will see if we can gather stats in a different way, perhaps
 by post processing logs as recording stats in this way means that the
 cocoon pipelines can't be cached.

 Ian


 cheers,
 Andrea

 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] dspace upgrade to 1.7.2-- oracle database version

2012-12-13 Thread Kirti Bodhmage
Hi,

 

We are in process to upgrade from 1.6.2 to 1.7.2.

Our  database is Oracle 9i.

 

Does version 1.7.2 needs 11g as database ?

 

Thanks

Kirti

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] dspace upgrade to 1.7.2-- oracle database version

2012-12-13 Thread Lighton Phiri
You could use 10g if you wanted; the documentation [1] says 1.7.2
supports Oracle database 10g or greater.

[1] 
https://wiki.duraspace.org/display/DSDOC17/Installation#Installation-RelationalDatabase:(PostgreSQLorOracle).
Lighton Phiri
http://lightonphiri.org


On 13 December 2012 19:42, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 Hi,



 We are in process to upgrade from 1.6.2 to 1.7.2.

 Our  database is Oracle 9i.



 Does version 1.7.2 needs 11g as database ?



 Thanks

 Kirti


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Statistics question

2012-12-13 Thread Andrea Schweer
Hi Tim,

On 14/12/12 04:23, Tim Donohue wrote:
 Just a friendly request -- if this fix helps with performance for both
 you  Ian, would you be willing to submit a Pull Request?  I'd like to
 see this get into DSpace 3.1 as a bug fix, if it's a worthwhile
 improvement to the performance of stats logging.

Jira issue  pull request done -- I was just waiting for feedback from
Ian. Thanks for your comments, Ian!
https://jira.duraspace.org/browse/DS-1426
https://github.com/DSpace/DSpace/pull/157
The pull request is against master; I can make a new one against
dspace-3_x if that helps.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unwanted errors in Cocoon.log

2012-12-13 Thread Ian Boston
Hi Tim,
Thank you.
Could you give me a pointer to where the DSpace page is rendered?

 Looking at the Coocon code it should be done by [1], but in DSpace
that doesnt take the blindest bit of notice of the setting
org.apache.cocoon.manageexceptions, which if set to false should just
set the status.

Incidentally, in the code I am looking at the status is set correctly
when managed, at least in the cocoon codebase. If a
ResourceNotFoundException appears as a 404 with html content, see [2],
and the log message is issued at warn level.

I am looking at the section of the stack below where think the
ResourceNotFoundException is handled (line 189 in
org.apache.cocoon.servlet.RequestProcessor )


at 
org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:351)
at 
org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)
at 
org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84)


Thanks
Ian



1 org.apache.cocoon.servlet.RequestUtil.manageException(HttpServletRequest,
HttpServletResponse, Environment, String, int, String, String, String,
Exception, ServletSettings, boolean, Object)

2 org.apache.cocoon.servlet.RequestProcessor line 200:

RequestUtil.manageException(request, res, env, uri,
HttpServletResponse.SC_NOT_FOUND,
Resource Not Found,
Resource Not Found,
The requested resource \ +
request.getRequestURI() + \ could not be found,
e,
this.servletSettings,
getLogger(), this);
return;

On 14 December 2012 02:21, Tim Donohue tdono...@duraspace.org wrote:
 Hi Ian,

 Just now saw this thread about the ugly 404 error page  logs in DSpace
 XMLUI / Cocoon.

 You may already be aware of when/why this came about. But, I figured I'd
 fill in some history just in case you (or others) are not.

 Essentially, prior to DSpace 1.8.x, DSpace XMLUI actually had a nicer
 looking XMLUI Page Not Found Error page. It just simply said page not
 found and looked like every other page in your XMLUI theme.

 However, then we discovered that Apache Cocoon was responding with 200 OK
 on *every error page* in the XMLUI, see this ticket
 https://jira.duraspace.org/browse/DS-768

 Essentially, the only resolution we were able to come up with was to
 actually patch Apache Cocoon to throw the proper 404 error. So we created a
 patched copy of the Cocoon code which was throwing 200 instead of 404.  That
 patched code is maintained here:
 https://github.com/DSpace/dspace-cocoon-servlet-service-impl

 Unfortunately though, in our patching of this Cocoon bug, we were not able
 to get our nicer looking Page Not Found error page to display
 again...instead, we were left with the ugly error page you see now. That
 patch to Cocoon may have also been the cause of the messages you are seeing
 in the Cocoon.log.

 There may be ways to fix this  clean up both the Page Not Found error
 page and limit the output in the Cocoon.log. I haven't looked into it in
 some time. But, if you find anything that works for you, I'd highly
 encourage you to send us a Pull Request or a patch -- I think this is
 something we'd all like to see fixed.

 Not sure if this info will be of help. But, at least know you know the full
 story of where this issue began.

 - Tim


 On 12/12/2012 3:42 AM, Ian Boston wrote:

 On 12 December 2012 20:15, helix84 heli...@centrum.sk wrote:

 Hi Ian,

 I don't know about shortening the stacktrace, but that's a pretty
 generic Java question so you may try googling around.


 I dont think there is a way other than changing the Cocoon code,
 blocking the logger or not throwing the exception and setting a 404
 status code in the Dspace code. I might just do the latter.


 To answer at least a part of your question, this is where 404s are
 handled in Cocoon. You may want to edit the XSL to filter what you
 send to the user for specific exceptions and leave the rest (the
 unexpected ones) as stacktraces.


 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/sitemap.xmap#L673


 Ok, thanks for the pointer.

 Ian



 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 

Re: [Dspace-tech] Unwanted errors in Cocoon.log

2012-12-13 Thread Ian Boston
Hi Tim, Helix,
Thanks for your help, I have fixed this by setting the cocoon.handled
level to FATAL and changed the xsl as you suggested. Since the errors
are cocoon handled, they will appear in the UI where appropriate, but
better than filling the logs up. I managed to create almost 2G of logs
yesterday.
Thanks
Ian


On 14 December 2012 09:56, Ian Boston ib...@cam.ac.uk wrote:
 Hi Tim,
 Thank you.
 Could you give me a pointer to where the DSpace page is rendered?

  Looking at the Coocon code it should be done by [1], but in DSpace
 that doesnt take the blindest bit of notice of the setting
 org.apache.cocoon.manageexceptions, which if set to false should just
 set the status.

 Incidentally, in the code I am looking at the status is set correctly
 when managed, at least in the cocoon codebase. If a
 ResourceNotFoundException appears as a 404 with html content, see [2],
 and the log message is issued at warn level.

 I am looking at the section of the stack below where think the
 ResourceNotFoundException is handled (line 189 in
 org.apache.cocoon.servlet.RequestProcessor )


 at 
 org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:351)
 at 
 org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)
 at 
 org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84)


 Thanks
 Ian



 1 org.apache.cocoon.servlet.RequestUtil.manageException(HttpServletRequest,
 HttpServletResponse, Environment, String, int, String, String, String,
 Exception, ServletSettings, boolean, Object)

 2 org.apache.cocoon.servlet.RequestProcessor line 200:

 RequestUtil.manageException(request, res, env, uri,
 HttpServletResponse.SC_NOT_FOUND,
 Resource Not Found,
 Resource Not Found,
 The requested resource \ +
 request.getRequestURI() + \ could not be found,
 e,
 this.servletSettings,
 getLogger(), this);
 return;

 On 14 December 2012 02:21, Tim Donohue tdono...@duraspace.org wrote:
 Hi Ian,

 Just now saw this thread about the ugly 404 error page  logs in DSpace
 XMLUI / Cocoon.

 You may already be aware of when/why this came about. But, I figured I'd
 fill in some history just in case you (or others) are not.

 Essentially, prior to DSpace 1.8.x, DSpace XMLUI actually had a nicer
 looking XMLUI Page Not Found Error page. It just simply said page not
 found and looked like every other page in your XMLUI theme.

 However, then we discovered that Apache Cocoon was responding with 200 OK
 on *every error page* in the XMLUI, see this ticket
 https://jira.duraspace.org/browse/DS-768

 Essentially, the only resolution we were able to come up with was to
 actually patch Apache Cocoon to throw the proper 404 error. So we created a
 patched copy of the Cocoon code which was throwing 200 instead of 404.  That
 patched code is maintained here:
 https://github.com/DSpace/dspace-cocoon-servlet-service-impl

 Unfortunately though, in our patching of this Cocoon bug, we were not able
 to get our nicer looking Page Not Found error page to display
 again...instead, we were left with the ugly error page you see now. That
 patch to Cocoon may have also been the cause of the messages you are seeing
 in the Cocoon.log.

 There may be ways to fix this  clean up both the Page Not Found error
 page and limit the output in the Cocoon.log. I haven't looked into it in
 some time. But, if you find anything that works for you, I'd highly
 encourage you to send us a Pull Request or a patch -- I think this is
 something we'd all like to see fixed.

 Not sure if this info will be of help. But, at least know you know the full
 story of where this issue began.

 - Tim


 On 12/12/2012 3:42 AM, Ian Boston wrote:

 On 12 December 2012 20:15, helix84 heli...@centrum.sk wrote:

 Hi Ian,

 I don't know about shortening the stacktrace, but that's a pretty
 generic Java question so you may try googling around.


 I dont think there is a way other than changing the Cocoon code,
 blocking the logger or not throwing the exception and setting a 404
 status code in the Dspace code. I might just do the latter.


 To answer at least a part of your question, this is where 404s are
 handled in Cocoon. You may want to edit the XSL to filter what you
 send to the user for specific exceptions and leave the rest (the
 unexpected ones) as stacktraces.


 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/sitemap.xmap#L673


 Ok, thanks for the pointer.

 Ian



 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 LogMeIn Rescue: Anywhere, Anytime 

Re: [Dspace-tech] Error Importing UTF-8 encoded file (some Chinese Characters)..

2012-12-13 Thread brian.t
Thanks very much for the hints.

I have not got my metadata in the database, however I cannot search using 
Chinese words. The seach box returns nothing and the search term has turned to 
non-Chinese symbols.

What I did was enablingthe following item in the dspace.cfg file:

    search.analyzer = org.apache.lucene.analysis.cn.ChineseAnalyzer

Then I tried to do index-update as follows but got error relating to 
ChineseAnalyzer:

[C:\dspace\bin]dspace.bat index-update
Using DSpace installation in: C:\dspace
Started: 1355459073297
Ended: 1355459102597
Elapsed time: 29 secs (29300 msecs)
Exception: java.lang.NoSuchMethodException: org.apache.lucene.analysis.cn.Chines
eAnalyzer.init(org.apache.lucene.util.Version)
java.lang.IllegalStateException: java.lang.NoSuchMethodException: org.apache.luc
ene.analysis.cn.ChineseAnalyzer.init(org.apache.lucene.util.Version)
    at org.dspace.search.DSIndexer.getAnalyzer(DSIndexer.java:644)
    at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:914)
    at org.dspace.search.DSIndexer.flushIndexingTaskQueue(DSIndexer.java:777
)


My DSpace Installation info:
version         :1.8.2 

platform        : Windows 7 32bit
JDK               : 1.6.0_37

What did I miss to enable search in Chinses (Traditional  Simplified ) search 
please?

Thank you in advance.

Regards,
-brian.t
University Library System
CUHK
  
    





 From: helix84 heli...@centrum.sk
To: brian.t brian88mail-l...@yahoo.com 
Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net 
Sent: Thursday, 13 December 2012, 16:42
Subject: Re: [Dspace-tech] Error Importing UTF-8 encoded file (some Chinese 
Characters)..
 
On Thu, Dec 13, 2012 at 2:24 AM, brian.t brian88mail-l...@yahoo.com wrote:
 So, if the metadata content does have the special characters such as '' (or
 symbols) it will have to be enclosed in quotes or use HTML code, e.g. amp;
 for ''. Is that correct?

That has really nothing to do with DSpace, but with XML. You can't use
quotes, you have to properly encode these characters (called
entities), so yes,  would be encoded as amp;. DSpace will get back
. You can use standard XML tools to check for XML validity, for
example xmllint.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Internal System Error

2012-12-13 Thread Parul Dubey
Dear all

After adding some fields to metadata .Again clicking to the adminstrator on the 
navigation bar it shows an internal error.
Kindly suggest how to handle this error.

Thanks



From: Parul Dubey parul.du...@itsl.in
Sent: Saturday, December 08, 2012 11:32 AM
To: dspace-tech@lists.sourceforge.net
Subject: Uploading multiple documents during a submission 

Hi All

1.   How to upload multiple documents during the submission of an Item.For 
ex:
  I have to submit details regarding an event having 10 photographs 
during a single submission.

2.   During the view of MetaData fields the term dc would not come.Please  
provide the steps for this settings.

3 .  Still not able to change the front page content.Please provide the 
location from whee to edit the text.

  DSpace is Live
  Welcome to our digital repository of My University research!
  More exciting news to appear here

Thanks in Advance
Parul Dubey

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [KE1019161] Adding new metadata formats to OAI interface

2012-12-13 Thread marco . weiss
Hi Helix,

i'm very in the XML world but i think you mean something like this  
(the xsd and the xsl) do you need to include it in DSpace?

xsi:schemaLocation=urn:nbn:de:-2004033116  
http://www.persistent-identifier.de/xepicur/version1.0/xepicur.xsd;

Yes after finishing and validating it with the DNB i will send it to  
you for including it in DSpace.

Thank you for support!
Marco


Zitat von helix84 heli...@centrum.sk:

 On Thu, Dec 13, 2012 at 10:36 AM,  marco.we...@kesslernetworks.de wrote:
 thank you for your answare. I found the failure in the meanwhile. I
 forgot an xmlns ;)

 Hi Marco,

 my email actually wasn't a response to your question about an OAI
 crosswalk (which I didn't try yet), but to Brian's question about
 ItemImporter.

 But maybe you can tell me how i can get only the handle ID like
 123456789/123 without the http://hdl.handle.net printed in my XML.

 Something like this should help (I didn't test it, though):

 xsl:value-of select=substring(dim:field[@mdschema='dc' and
 @element='identifier' and @qualifier='uri'], 22) /

 22 is length of this string: http://hdl.handle.net/;


 When you have your crosswalk finished, we could include it DSpace,
 provided that you have a schema describing it. Just file a Jira issue
 and include your stylesheet as an attachment.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette