[ 
https://jira.duraspace.org/browse/DS-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25300#comment-25300
 ] 

Ivan Masár commented on DS-1199:
--------------------------------

> Are you able to view a service document with diacriticals in the browser? 

I haven't tried, because the reply forces browsers to download, not view the 
service document.

However, this

$ wget [email protected] --password=dspace 
http://demo.dspace.org/swordv2/servicedocument
$ enca -L none servicedocument
Unrecognized encoding

indicates a problem. I think that we might have a double-encoded string in the 
collectionPolicy tag. This would be a different problem than missing encoding 
decaration.

I'm curious - how did you determine that the document is valid after adding an 
XML declaration with ISO-8859-1 encoding?
                
> SWORD V2 Service Document does not have XML processing tag with encoding
> ------------------------------------------------------------------------
>
>                 Key: DS-1199
>                 URL: https://jira.duraspace.org/browse/DS-1199
>             Project: DSpace
>          Issue Type: Bug
>          Components: SWORD
>    Affects Versions: 1.8.2
>         Environment: All
>            Reporter: Kathi Fletcher
>            Assignee: Richard Jones
>            Priority: Major
>         Attachments: dspace-servicedocument.xml
>
>
> Tested the SWORD V2 service document 
> (http://demo.dspace.org/swordv2/servicedocument) on the demo server at 
> http://demo.dspace.org. The service document needs <?xml version="1.0" 
> encoding="ISO-8859-1"?> to be valid XML. Otherwise it breaks on the accented 
> chars in the body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to