[osis-core] OsisRef problem

Todd Tillinghast osis-core@bibletechnologieswg.org
Thu, 26 Sep 2002 13:10:55 -0600


Harry and Patrick,

No need for a snippet.

osisRef="Bible:Matt.1.3 Bible:Matt.1.4" IS invalid.

ONLY osisID allows a list of ids (and "range" ids are ONLY allowed in
osisRef). 

You would have to either create two <reference> elements as in: 
<reference osisRef="Bible:Matt.1.3"/>
<reference osisRef="Bible:Matt.1.4"/>

OR 
 
Create a range reference as in:

<reference osisRef="Bible:Matt.1.3-Matt.1.4"/>

Todd

> 
> Harry,
> 
> Can you forward just a snippet sufficient to duplicate the problem?
Not
> sure why XML Spy would be choking on the attribute value.
> 
> Will probably be upgrading to the "Professional" version this weekend
so
> I can let  you know if it is a version specific problem. (I will try
to
> duplicate the problem before and after I upgrade.)
> 
> Patrick
> 
> Harry Plantinga wrote:
> 
> >We're just about there in creating valid OSIS documents in conversion
> >from ThML documents.
> >
> >The problem we are still having is in creating osisRefs that the
schema
> >will accept.  We're doing something like this:
> >
> >osisRef="Bible:Matt.1.3 Bible:Matt.1.4"
> >
> >The XML Spy parser seems to choke on such things.
> >
> >What should I be doing?
> >
> >-Harry
> >
> 
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
> 
>