Re: [Dspace-tech] Dspace 3.2 Swordv2 Encoding issues

2015-01-21 Thread Alcides Carlos de Moraes Neto
I have tested http://demo.dspace.org/swordv2/servicedocument with wget -S
and it returns UTF-8 as expected:

Content-Type: application/atomserv+xml;charset=UTF-8

So it is either my install that is misconfigured or dspace 3.2 has a bug.
Which is it? I have not found anything to do with sword encoding in JIRA,
just this issue:
https://jira.duraspace.org/browse/DS-1199

It does not deal with the http responde headers, however.

I'm guessing it probably has to do with the sword libraries. I'll check on
that.





2015-01-15 17:05 GMT-02:00 Alcides Carlos de Moraes Neto 
alcides.n...@gmail.com:

 Thank you helix,

 Yes, running with  -Dfile.encoding=UTF-8
 Sword (v1), XMLUI and OAI are responding with UTF-8, it's just swordv2
 that's using ISO.


 2015-01-14 17:56 GMT-02:00 helix84 heli...@centrum.sk:

 Are you running with -Dfile.encoding=UTF-8 as suggested in the
 installation docs?


 https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-ServletEngine(ApacheTomcat5.5orlater,Jetty,CauchoResinorequivalent)


 Regards,
 ~~helix84

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



--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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 3.2 Swordv2 Encoding issues

2015-01-21 Thread Alcides Carlos de Moraes Neto
Probably this change resolved the issue:
https://github.com/DSpace/DSpace/commit/cdba10a28e763805142c3a50a06b518b6e5bc5ef

It didn't make the 3.0 branch however.

2015-01-21 19:50 GMT-02:00 Alcides Carlos de Moraes Neto 
alcides.n...@gmail.com:

 I have tested http://demo.dspace.org/swordv2/servicedocument with wget -S
 and it returns UTF-8 as expected:

 Content-Type: application/atomserv+xml;charset=UTF-8

 So it is either my install that is misconfigured or dspace 3.2 has a bug.
 Which is it? I have not found anything to do with sword encoding in JIRA,
 just this issue:
 https://jira.duraspace.org/browse/DS-1199

 It does not deal with the http responde headers, however.

 I'm guessing it probably has to do with the sword libraries. I'll check on
 that.





 2015-01-15 17:05 GMT-02:00 Alcides Carlos de Moraes Neto 
 alcides.n...@gmail.com:

 Thank you helix,

 Yes, running with  -Dfile.encoding=UTF-8
 Sword (v1), XMLUI and OAI are responding with UTF-8, it's just swordv2
 that's using ISO.


 2015-01-14 17:56 GMT-02:00 helix84 heli...@centrum.sk:

 Are you running with -Dfile.encoding=UTF-8 as suggested in the
 installation docs?


 https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-ServletEngine(ApacheTomcat5.5orlater,Jetty,CauchoResinorequivalent)


 Regards,
 ~~helix84

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




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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 3.2 Swordv2 Encoding issues

2015-01-14 Thread helix84
Are you running with -Dfile.encoding=UTF-8 as suggested in the
installation docs?

https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-ServletEngine(ApacheTomcat5.5orlater,Jetty,CauchoResinorequivalent)


Regards,
~~helix84

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

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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 3.2 Swordv2 Encoding issues

2015-01-09 Thread Alcides Carlos de Moraes Neto
Here is the response header from a wget -S request

  HTTP/1.1 200 OK
  Age: 0
  Date: Fri, 09 Jan 2015 18:35:37 GMT
  X-Cache: MISS
  Content-Type: application/atomserv+xml;charset=ISO-8859-1
  Accept-Ranges: bytes
  Content-Length: 241251
  Proxy-Connection: Keep-Alive


2015-01-09 15:58 GMT-02:00 Alcides Carlos de Moraes Neto 
alcides.n...@gmail.com:

 Hello everyone,

 I'm trying to use dspace Swordv2 webapp but I'm having encoding issues.

 Responses from swordv2 on my install have the encoding response header set
 to ISO-8859-1

 However, my default.license file has a UTF-8 encoding. After a successful
 authentication, the response from servicedocument is an invalid XML.

 What should I do? I cannot find any settings whatsoever regarding the
 encoding of the swordv2 application.

--
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