[osis-core] xml:lang
Chris Little
osis-core@bibletechnologieswg.org
Fri, 17 Oct 2003 10:05:48 -0700 (MST)
Todd,
If a work is a diglot, it might have multiple <language type="IETF"
use="base"> elements. Monoglots should probably only have one such
element. In any case, the value should match the xml:lang value on
the highest element(s)--<osisText> for a monoglot.
Note: Multiple <language> elements can occur so long as they vary in at
least one of: type, use, or the language to which they refer.
--Chris
On Fri, 17 Oct 2003, Todd Tillinghast wrote:
> Chris,
>
> Would you say that it is required that if <language type="base"> is
> present in the this work and if xml:lang is present on <osisText> that
> they should have the same value?
>
> Would you say that there can be more than one instance of <language
> type="base"> in a single <work> element?
>
> Todd
>
> > -----Original Message-----
> > From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
> > admin@bibletechnologieswg.org] On Behalf Of Chris Little
> > Sent: Thursday, October 16, 2003 8:12 PM
> > To: osis-core@bibletechnologieswg.org
> > Subject: Re: [osis-core] xml:lang
> >
> > Todd,
> >
> > I guess I don't quite follow. I think xml:lang on <osisText> should
> be
> > equal to the value of <language type="IETF" use="base">, if both are
> > present. It's certainly handy, as Patrick notes, but I don't
> understand
> > why it's necessary to require xml:lang on <osisText>.
> >
> > I have no real reason to object to requiring it though, either.
> >
> > --Chris
> >
> > Todd Tillinghast wrote:
> >
> > > Hmmm.
> > >
> > > xml:lang and <language> serve different purposes. I would not
> expect
> > > anyone to use the <language> element to determine which language the
> > > characters in children elements should be interpreted as.
> > >
> > > Because within the same context there will likely be OSIS document
> > > encoded in different languages, when none is specified there is no
> > > reasonable basis to establish a default when none is specified. I
> think
> > > this is reason enough to require a xml:lang on <osisText>.
> > >
> > > Todd
> > >
> > > _______________________________________________
> > > osis-core mailing list
> > > osis-core@bibletechnologieswg.org
> > > http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
> >
> >
> > _______________________________________________
> > osis-core mailing list
> > osis-core@bibletechnologieswg.org
> > http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
>
> _______________________________________________
> osis-core mailing list
> osis-core@bibletechnologieswg.org
> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
>