Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread helix84
Hi Owen, I did some preliminary investigation. The license text gets added to DRI here: https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/LicenseStep.java#L105 And here's JavaDoc for that method:

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread Owen Williams
helix84, On Tue, 2013-09-03 at 14:13 +0200, helix84 wrote: I did some preliminary investigation. The license text gets added to DRI here: https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/LicenseStep.java#L105 And

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread helix84
I understand your motivation to refrain from modifying any Java code. Without digging much deeper, I recommend you to ignore (in XSL) the license text as Java inserts it into DRI. Instead, use the XSL document() call to include a license file with DRI tags (same as in news-xmlui.xml). Please

Re: [Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-03 Thread Owen Williams
Helix84, On Tue, 2013-09-03 at 15:42 +0200, helix84 wrote: I understand your motivation to refrain from modifying any Java code. Without digging much deeper, I recommend you to ignore (in XSL) the license text as Java inserts it into DRI. Instead, use the XSL document() call to include a

[Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-02 Thread Owen Williams
Hello, I'm trying to update our DSpace 3.1 dev instance to use a new license. When I change the default.license file on disk, rebuild and re-start the service any style is stripped (in this case just newlines) from the license when rendered. In JSPUI we can use /dspace-admin/license-edit to