mvnForum Homepage


Posted by troypulk at Jun 3, 2010 10:13:25 PM
Need help with XML
Hello,

I used mod2osis and made a XML out of my ESV bible.

I'm down to 4 errors after validating the XML with xmllint but the errors don't look like errors. unless I'm missing something.

Does anyone know why this is?

Thanks in advance

Here they are:

esv.xml:53: parser error : Opening and ending tag mismatch: div line 20 and chapter
</chapter>
^
esv.xml:79: parser error : Opening and ending tag mismatch: osisText line 5 and chapter
</chapter>
^
esv.xml:104: parser error : Opening and ending tag mismatch: osis line 3 and chapter
</chapter>
^
esv.xml:105: parser error : Extra content at the end of the document
Gen.4<title subType="x-preverse" type="section">Cain and Abel</title>Now Adam kn
^


Line 105 is the beginning of Chap. 4 not the ending

Here are the lines of errors

20 <div type="book" osisID="Gen">
53 </chapter>

5 <osisText osisIDWork="ESV" osisRefWork="bible" xml:lang="en" canonical="true">
79 </chapter>

3 <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.bibltechnolgologies.net/OSIS/osisCore.2.1.1.xsd">

104 </chapter>

105 Gen.4<title subType="x-preverse" type="section">Cain and Abel</title>Now Adam knew Eve his wife, and she conceived and bore Cain, saying, <q level="1" marker="“" sID="01004001.1"/>I have gotten<note n="1" osisID="Gen.4.1!note.1" osisRef="Gen.4.1" type="explanation"><catchWord><hi type="italic">Cain</hi></catchWord> sounds like the Hebrew for <catchWord><hi type="italic">gotten</hi></catchWord></note> a man with the help of the <divineName>Lord</divineName>.<q eID="01004001.1" level="1" marker="”"/>