Peter,

I've corrected the wrong type of double quotes, and then worked on it.  In
the end, the validation schema only recognises the following Dublin Core
items, apart from Title:
creator, identifier, language, scope.
When I commented out the following , it validated, and would not validate
with single one any of them included.
coverage, relation, contributor, rights, refSystem, date, publisher,
description, format, source, subject, type.

I can produce a module for testing and submission with that info commented
out.  
However, should I ignore the validation and uncomment them all again, for
general use of the osis file apart from producing Sword modules?  
 
John Duffy

-----Original Message-----
From: Peter von Kaehne [mailto:ref...@gmx.net] 
Sent: 02 November 2009 14:56
To: johndu...@cgcf.net; SWORD Developers' Collaboration Forum
Subject: Re: [sword-devel] Osis validation problems on header

I can not answer your question (nor have I tried it myself right now (with
being at work), but as I think that our osis2mod procedure will "kill" all
of the header stuff anyway, it is probably not necessary to add anything
beyond what is given by usfm2osis.pl

Peter


-------- Original-Nachricht --------
> Datum: Mon, 2 Nov 2009 14:08:12 -0000
> Von: johndu...@cgcf.net
> An: sword-devel@crosswire.org
> Betreff: [sword-devel] Osis validation problems on header

> Hi, 
> 
> I've got the whole of the Bible to validate, but have problems with the
> header.
> 
> The basic header which is output from usfm2osis.pl allows the whole Bible
> to
> validate (using Notepad++ and a copy of the Osis schema saved as a local
> file).  
> 
> <?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";
> xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace
> http://www.bibletechnologies.net/osisCore.2.1.1.xsd";>
> <osisText osisRefWork="Bible" xml:lang="en" osisIDWork="GEN">
> <header>
> <work osisWork="GEN"/>
> </header>
> 
> However, when I add the Dublin core info, it doesn't validate.  I've tried
> to isolate the problem, but have been unsuccessful, as even single line
> additions to the basic header above cause problems.  It generally comes up
> with "xml parsing error at line xx; Extra content at the end of the
> document" 
> 
> Can anyone comment on why the error arises?  Also, whether the info looks
> correct below, as there are different options depending on what I read?
> Thanks
> 
> <?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";
> xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace
> http://www.bibletechnologies.net/osisCore.2.1.1.xsd";>
> <osisText osisRefWork="Bible" xml:lang="en" osisIDWork="ABN">
> <header>
>       <revisionDesc resp=”JGD”><date>2009.11.02</date><p>JGD: First osis
> revision</p></revisionDesc>
>       <work osisWork="ABN">
>               <title>An Bíobla Naofa</title>
>               <creator role="edt">Pádraig Ó Fiannachta</creator>
>               <contributor role="trl">Various</contributor>
>               <identifier type="OSIS">ABN</identifier>
>               <identifier type="ISBN">1870684907</identifier>
>               <date event="original" type="gregorian">1981</date>
>               <date event="eversion" type="gregorian">2009</date>
>               <language type="ISO-639-2">GLA</language>
>               <rights type="x-copyright">Copyright 1981 An Sagart</rights>
>               <publisher>An Sagart</publisher>
>               <description>Bible text of the Bible in Irish "An Bíobla
> Naofa"</description>
>               <coverage>Irish</coverage>
>               <relation type="x-relatedresource">None</relation>
>               <format type="x-MIME">text/xml</format>
>               <source>Electronic text (OCR of original 1981 print edition)
> of "An Bíobla Naofa" on CD-ROM (1998) by Chora Dhuibhne T/as Fios Feasa.
> Used by permission from Pádraig Ó Fiannachta</source>
>               <subject type="DDC">220.5</subject>
>               <subject="OSIS">Bible</subject>
>               <type type="OSIS">Bible</type>
>               <refSystem>Bible.KJVA</refSystem>
>               <scope>GEN-REV</scope>
>       </work>
>       <work osisWork="Bible">
>               <refSystem>Bible.KJVA</refSystem>
>       </work>
> </header>
> 
>  
> John Duffy
> 
> 
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to