[osis-core] OSIS work regex
Harry Plantinga
osis-core@bibletechnologieswg.org
Wed, 14 Aug 2002 15:51:51 -0400
My "XML in a Nutshell" reference book says that XML name start
characters are letters, ideographs, and the underscore, _. If
we want to conform to XML usage, we should allow ideographs, underscore,
but no _ or digits in osisIDs, I guess.
-Harry
> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org
> [mailto:owner-osis-core@bibletechnologieswg.org] On Behalf Of
> Todd Tillinghast
> Sent: Wednesday, August 14, 2002 3:34 PM
> To: osis-core@bibletechnologieswg.org
> Subject: RE: [osis-core] OSIS work regex
>
>
> I think I am clear now on the proposal.
>
> Although we don't intend to use our ids as XML IDs, by
> allowing a leading "_" we preclude others from using the same
> syntax/form and set of identifiers in other implementations.
> This weakens our standard.
>
> I hope that encoders other than those encoding OSIS documents
> would use identifiers that are of the same "currency" as our
> references and identifiers. By elimination the option for
> those identifiers to XML IDs we limit the possibility for
> wider adoption, influence and interoperability with OSIS document.
>
> Todd
>
> >
> > Todd,
> >
> > I don't think Harry meant "_" as an extra delimiter (in the
> same sense
> > as "." is a delimiter in our syntax but more as a name character in
> > writing customary citations of names. It is in a sense a
> delimiter but
> > as part of the name to be matched as a string and not a delimiter.
> (Does
> > that make any sense at all? Perhaps Harry can state what he
> meant more
> > clearly. ;-)
> >
> > Patrick
> >
> > Todd Tillinghast wrote:
> >
> > >What extra value does the "_" give us?
> > >
> > >Are you proposing Bible_.TEV_ ?
> > >
> > >Or just that "_" would be an option as in
> > >Bible.Todd_New_And_Different_Reference_System ?
> > >
> > >I can see "_" as an allowable character as long as it is not the
> leading
> > >character but don't see any value in having it as an additional
> > >delimiter to ".".
> > >
> > >Todd
> > >
> > >>-----Original Message-----
> > >>From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
> > >>core@bibletechnologieswg.org] On Behalf Of Harry Plantinga
> > >>Sent: Wednesday, August 14, 2002 7:26 AM
> > >>To: osis-core@bibletechnologieswg.org
> > >>Subject: RE: [osis-core] OSIS work regex
> > >>
> > >>If schema RegExps behave as they do in Perl, the ? is
> superfluous.
> > >>Perhaps
> > >>
> > >> [\L\N][\.\L\N]*
> > >>
> > >>The underscore character (_) is pretty commonly used in names and
> may
> > >>
> > >be
> > >
> > >>present in documents converted to OSIS. I can't see that
> it would do
> > >>
> > >any
> > >
> > >>harm. Could it be included? Perhaps
> > >>
> > >> [\L\N_][\.\L\N_]*
> > >>
> > >>-Harry
> > >>
> > >>----------------------------------
> > >>For the work portion:
> > >>
> > >><xs:pattern value = "([\L\N\.]([\L\N\.]*)?)" />
> > >>
> > >>By which I am trying to say, any letter or number combination,
> > >>
> > >followed
> > >
> > >>by a period is complusory, followed by any number of optional
> > >>letter/number combinations that also end in a period (periods,
> > >>
> > >hyphens,
> > >
> > >>etc., being excluded from the work name).
> > >>
> > >
> >
> > --
> > Patrick Durusau
> > Director of Research and Development
> > Society of Biblical Literature
> > pdurusau@emory.edu
> >
> >
>
>