Re: [Dspace-tech] Edit item - Upload a new bitstream problem: buttons and footer not rendered

2015-02-10 Thread Vladimir Tomić

Dear all,

When testing our messages.xml file using:
xmllint -noout messages.xml

No output was generated, which meant our file was ok.

So we decided to do a divide  conquer approach: we would be commenting 
out huge chunks of messages.xml to see when the footer was showing and 
when not. Using this we found the problem, it was this message key:


Serbian:
message key=xmlui.dri2xhtml.default.textarea.value/message

English:
message key=xmlui.dri2xhtml.default.textarea.value /message

Please notice that the value in a working English file is a single space 
character, while in Serbian file we made it an empty string. While 
translating DSpace to Serbian, we were cleaning up double and trailing 
spaces and such...


This might be an issue/bug, wouldn't you agree?

Thank you so much helix84!

Kind regards, Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Edit item - Upload a new bitstream problem: buttons and footer not rendered

2015-02-10 Thread helix84
On Tue, Feb 10, 2015 at 12:38 PM, Vladimir Tomić
vladimir.to...@rcub.bg.ac.rs wrote:
 What is missing are Upload and Cancel buttons, as well as the entire
 footer. (We have another DSpace 4.1 where everything is working fine.)

 Did anyone have similar issues and could help us with this?

A quick skim of changes between 4.1 and 4.2 doesn't suggest any
changes in this area. Perhaps this is a configuration issue. Does any
error get written to dspace.log when you open/reload that page? What
about catalina.out?
This could be even be an error in your messages_XX.xml file. Try
running xmllint on that file.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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] Edit item - Upload a new bitstream problem: buttons and footer not rendered

2015-02-10 Thread Vladimir Tomić

Dear all,

There are no errors logged, not in DSpace logs, nor in Tomcat logs.

We've also conluded that there've been no changes in the code. Actually, 
after reverting to English messages.xml the buttons are showing, so it 
seems it is definitely a problem in our Serbian messages file. I've run 
xmllint --debug on it and it reaches the end of the file successfuly. 
When I run xmllint --valid on both English and Serbian files it throws 
an error:


messages.xml:11: validity error : Validation failed: no DTD found !
catalogue xml:lang=en xmlns:i18n=http://apache.org/cocoon/i18n/2.1;

How should I use xmllint to check messages.xml files?

Thank you!

Pozdrav, Vladimir

On 2015-02-10 13:15, helix84 wrote:

On Tue, Feb 10, 2015 at 12:38 PM, Vladimir Tomić
vladimir.to...@rcub.bg.ac.rs wrote:

What is missing are Upload and Cancel buttons, as well as the entire
footer. (We have another DSpace 4.1 where everything is working fine.)

Did anyone have similar issues and could help us with this?

A quick skim of changes between 4.1 and 4.2 doesn't suggest any
changes in this area. Perhaps this is a configuration issue. Does any
error get written to dspace.log when you open/reload that page? What
about catalina.out?
This could be even be an error in your messages_XX.xml file. Try
running xmllint on that file.


Regards,
~~helix84

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






smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Edit item - Upload a new bitstream problem: buttons and footer not rendered

2015-02-10 Thread helix84
On Tue, Feb 10, 2015 at 2:58 PM, Vladimir Tomić
vladimir.to...@rcub.bg.ac.rs wrote:
 How should I use xmllint to check messages.xml files?

xmllint -noout messages.xml

No output means good.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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