[sword-devel] osis2mod very happily generates modules with no text visible

Matěj Cepl mcepl at redhat.com
Mon Dec 26 12:52:45 MST 2011

On 25.12.2011 22:57, David Haslam wrote:
> The file bible.xml within http://mcepl.fedorapeople.org/tmp/bible.xml.gz
> seems to be not a text file but a binary!
> In fact, it needs to be renamed as bible.xml.tar and decompressed yet again
> to get the real bible.xml

mitmanek:~ $ curl -L -O http://mcepl.fedorapeople.org/tmp/bible.xml.gz
   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
                                  Dload  Upload   Total   Spent    Left 
100 3708k  100 3708k    0     0   767k      0  0:00:04  0:00:04 --:--:-- 
mitmanek:~ $ file bible.xml.gz
bible.xml.gz: gzip compressed data, was "bible.xml", from Unix, last 
modified: Sun Dec 25 07:43:38 2011, max compression
mitmanek:~ $ gunzip bible.xml.gz
mitmanek:~ $ file bible.xml
bible.xml: XML  document text
mitmanek:~ $ head <bible.xml
<?xml version="1.0" encoding="utf-8"?>
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" 
   <osisText osisIDWork="CzeKMS" osisRefWork="bible" xml:lang="cs" 
       <revisionDesc resp="Matěj Cepl">
         <p>This is just an information about the book.</p>
       <work osisWork="CzeKMS">
         <title>Český studijní překlad Bible</title>
mitmanek:~ $

Sorry, that's your browser which did some repackaging behind the scenes.


More information about the sword-devel mailing list