[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
Current
Dload Upload Total Spent Left
Speed
100 3708k 100 3708k 0 0 767k 0 0:00:04 0:00:04 --:--:--
792k
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"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xi="http://www.w3.org/2003/XInclude">
<osisText osisIDWork="CzeKMS" osisRefWork="bible" xml:lang="cs"
canonical="true">
<header>
<revisionDesc resp="Matěj Cepl">
<date>2010.09.07</date>
<p>This is just an information about the book.</p>
</revisionDesc>
<work osisWork="CzeKMS">
<title>Český studijní překlad Bible</title>
mitmanek:~ $
Sorry, that's your browser which did some repackaging behind the scenes.
Matěj
More information about the sword-devel
mailing list