<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi everybody, <br>
    <br>
    Just out of interest, I picked up the OSIS file and tried to convert
    it into a commentary. Boy was that a first encounter with xml, and
    OSIS especially! Took me a while to figure out the thing about
    milestones... and the shiny world of regular expressions... <br>
    <br>
    I converted verses and a few headers to milestones (consistently)
    because that was easier. I also removed the periods in the verse
    beginnings (I have yet to see how much collateral damage this did)
    and fixed a modest amount of typos. <br>
    <br>
    Anyway, finally the xml validator says it's well-formed, and
    osis2mod compiles without complaints. However, opening the module in
    Bibletime results in (apparently non-Unicode) gibberish. The text
    displays fine in a browser though. Validating it as OSIS xml
    (xmllint --noout --schema
    <a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/osisCore.2.1.1.xsd">http://www.bibletechnologies.net/osisCore.2.1.1.xsd</a>
    DutchAnnotationsOSIS.xml) gives me a lot of error messages, all of
    them look something like this: <br>
    <br>
    <i>"DutchAnnotationsOSIS.xml:65535: element div: Schemas validity
      error : Element
      '{<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}div': This
      element is not expected. Expected is one of (
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}a,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}abbr,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}catchWord,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}chapter,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}closer,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}date,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}divineName,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}figure,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}foreign,
      {<a class="moz-txt-link-freetext" href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>}hi )."</i><br>
    <br>
    <br>
    It is clear that somewhere OSIS standards are being violated, and my
    best guess is it's in the header. I wasn't really able to verify if
    I did everything right due to a lack of documentation (the wiki
    doesn't mention commentary headers, the OSIS documentation doesn't
    either, there's only one sample header in the forum:
    <a class="moz-txt-link-freetext" href="http://www.crosswire.org/forums/mvnforum/viewthread_thread,773">http://www.crosswire.org/forums/mvnforum/viewthread_thread,773</a> )<br>
    Unfortunately this sample doesn't meet OSIS minimum requirements.
    For instance, it doesn't define a scope, nor a copyright, nor a
    versification system. <br>
    <br>
    Also, it still isn't exactly clear to me what syntax is necessary so
    that the header will be valid. Specifically, I was wondering about
    this value: <code class="prettyprint"><span class="atn">osisRefWork</span><span
        class="pun">=</span><span class="atv">"defaultReferenceScheme"</span><span
        class="pln">. Is</span></code><code class="prettyprint"><span
        class="atv"> "defaultReferenceScheme"</span></code>supposed to
    be replaced by something like NRSV (as in: v11n), or is this a
    standard value for commentaries? <br>
    <br>
    And: Do I, for a commentary, need to specify a versification system
    when compiling, and in the .conf file? <br>
    <br>
    Anyways, here's the .conf file (attached) and the osis.xml file (to
    be downloaded here:
    <a class="moz-txt-link-freetext" href="http://dl.dropbox.com/u/1040719/DutchAnnotationsOSIS.xml">http://dl.dropbox.com/u/1040719/DutchAnnotationsOSIS.xml</a> )<br>
    <br>
    Happy if I can be of help, <br>
    <br>
    Ben<br>
    <br>
  </body>
</html>