mvnForum Homepage


Posted by paalgg at Sep 25, 2011 1:46:24 AM
Testament division
I am having problems dividing my first Bible prosject in OSIS format into new and old testament. I am reading about this division at this page in the wiki:
http://www.crosswire.org/wiki/OSIS_Tutorial#Text_Divisions

This is the output after the header and before the verses in Genesis 1 starts:
<div type="old-testament">
<div type="book" osisID="Gen">
<chapter osisID="Gen.1">


This is the ouput I get from NetBeans XML validating:
XML validation started.
Checking file:/X:/HTML/php/bibel_1921/bible1921.xml...
Referenced entity at "http://www.bibletechnologies.net/osisCore.2.1.1.xsd".
Referenced entity at "http://www.w3.org/2001/xml.xsd".
cvc-datatype-valid.1.2.3: 'old-testament' is not a valid value of union type 'divType'. [14]
cvc-attribute.3: The value 'old-testament' of attribute 'type' on element 'div' is not valid with respect to its type, 'divType'. [14]
cvc-datatype-valid.1.2.3: 'new-testament' is not a valid value of union type 'divType'. [26 532]
cvc-attribute.3: The value 'new-testament' of attribute 'type' on element 'div' is not valid with respect to its type, 'divType'. [26 532]
XML validation finished.