[osis-core] key/keyref - Note

Todd Tillinghast osis-core@bibletechnologieswg.org
Wed, 28 Aug 2002 12:29:53 -0600


Hmmm?  You test files seem to work, but my document does not.

I just sent you a sample OSIS encoded document, the 004 schema did not
like the below mentioned osisID that is a list.  I'm not sure what the
difference is.

Can you try my document on your machine and tell me if you get the same
problem I did?

Are you achieving the "list" behavior by including a "space" in your
regex?  

(I have to admit it is a little hard to read and have not dug through it
with a fine tooth comb.)  

The beauty in using a regex over the xsd:list is that we can force ONLY
spaces and not be stuck with any sort of white space, as well as not
allowing white space prior to the first identifier and not allowing
white space after the last identifier.  The down side is that this is
really a list and it seems like better XML to use the officially
provided xsd:list.

Todd

> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
> core@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Wednesday, August 28, 2002 11:55 AM
> To: osis-core@bibletechnologieswg.org
> Subject: Re: [osis-core] key/keyref - Note
> 
> Todd,
> 
> I just validated a file with the osisID that you propose with no
fixes.
> Test files attached. See if it validates for you.
> 
> Note the XSD file has only the current version for osisID and not
osisRef.
> 
> Patrick
> 
> 
> 
> Todd Tillinghast wrote:
> 
> >Patrick,
> >
> >osisIDType needs to be a list of the current osisIDType as shown
below.
> >
> >The following is invalid with the current schema:
> ><p osisID="Matt.1.2 Matt.1.3 Matt.1.4 Matt.1.5 Matt.1.6">
> >
> ><xs:simpleType name="osisIDType">
> >	<xs:list itemType="osisIDPrimativeType"/>
> ></xs:simpleType>
> ><xs:simpleType name="osisIDPrimativeType">
> >	<xs:restriction base="xs:string">
> >		<xs:pattern value="long regex"/>
> >	</xs:restriction>
> ></xs:simpleType>
> >
> >I have Ps.1, Ps.3, and Matt.1 encoded depending on the above fix.
> >
> >Todd
> >
> 
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
>