[osis-core] Syntax Check

Harry Plantinga osis-core@bibletechnologieswg.org
Mon, 26 Aug 2002 10:23:08 -0400


> Before I re-write the regex, is there general agreement on 
> Steve's proposal:
> 
> work(refsys):canonical(split)@grain-canonical(split)@grain

The work(refsys) is the reverse of what Todd proposed, refsys(work).
The reason Todd proposed as he did, I suppose, is that he wanted to
be able to omit the (work), but the refsys was supposed to be required.
In the above proposal, presumably the (refsys) would be optional
and the workID required.  I suppose that a refsys can be optional if
the default refsys for the work is used.

But what about the case where we don't have a specific work, only
a reference system and class of works?

For example, suppose I want to get Ps. 20 out of the LXX using 
the KJV reference system.  I suppose I would

- define a work element selecting the edition requested
- use the optional (refsys)?

--------------------------------------
<works>
  <work workID="lxx">
    <identifier type="OSIS">Bible.LXX.*.en.*</identifier>
  </work>
</works>

.....

  osisRef="lxx(Bible.KJV):Ps.20"....

-----------------------------------------

I think the work(refsys) syntax works just fine. 
But we should be aware that in some ways it's a totally different 
approach from what we had previously discussed.  There would no
longer be a "Bible.KJV:Matt.1.1" -- instead, you'd define a <work>
element saying as much as you care to say about what edition of the
KJV to use, give it a workID such as myKJV, and use "myKJV:Matt.1.1".

-Harry