[osis-core] osisID as list

Patrick Durusau osis-core@bibletechnologieswg.org
Wed, 28 Aug 2002 15:35:34 -0400


Todd,

I assume you mean by "restr" = "restriction"? (Sorry, so many 
abbreviations and acronyms that I lose track.)

><xs:simpleType name="osisIDType">
>		<xs:list itemType="osisIDPrimativeType"/>
>	</xs:simpleType>
>	<xs:simpleType name="osisIDPrimativeType">
>		<xs:restriction base="xs:string">
>			<xs:pattern value="(((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?(\[((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?\])?:)?((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?((\s(((\p{L}|\p{N}|_)+)((\.(\p{L}|\p{N}|_)+)*)?:)?((\p{L}|\p{N}|_)+  )((\.(\p{L}|\p{N}|_)+)*)?)*)?"/>
>		</xs:restriction>
>	</xs:simpleType>
>

With the exception of losing the \s in the expression, do you see list 
as gaining us anything?

Patrick


Todd Tillinghast wrote:

>I was using version 004 when I first got the error saying that osisID
>was invalid (only for osisIDs that are lists).
>
>The list by forcing a space using "restr" rather than "list" in
>osisIDType.  Unrelated to whether the current regex works or no do you
>have thoughts related to my prior post and the use of "restr" rather
>than "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 12:23 PM
>>To: osis-core
>>Subject: [osis-core] osisID as list
>>
>>Todd,
>>
>>If you look at the test schema I forwarded a few minutes ago I think
>>
>you
>
>>will find that osisIDs can already be lists. I copied the expression
>>
>in
>
>>the test file directly from the lastest release so let me know if it
>>does not work for you.
>>
>>Patrick
>>
>>--
>>Patrick Durusau
>>Director of Research and Development
>>Society of Biblical Literature
>>pdurusau@emory.edu
>>
>

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu