[osis-core] osisCore_Candidate.1.1_006 - 3 - elements that should have a splitID attribute
Todd Tillinghast
osis-core@bibletechnologieswg.org
Fri, 30 Aug 2002 12:48:22 -0600
>
> ID is definitely needed on all elements.
OK with me.
>
> lang is needed on all containers -- anything that may
> have text in another language.
>
That being the case we should put "lang" only on those elements.
> type is definitely needed on all elements -- it's the only
> way of tying formatting or processing to an element. E.g.
> <p type="chaptersummary">
>
> subtype is a good thing to have on all elements as well. It's
> a generic second type element. We're finding it very useful
> in converting ThML to OSIS because we may have elments with
> types and with formatting classes. E.g. <attribution class="c1">
> might be converted to <p type="c1" subtype="attribution"> or
> some such.
>
I ran into the same issue converting form XSEM to OSIS and used the
"type" attribute to retain information that would otherwise be lost.
I think where there is a "type" we should keep a "subType".
Lets keep type and subtype globalAttributes then.
> In general, I don't mind having a set of global attributes
> that apply to all or almost all elements. It makes the langauge
> more regular and easier to deal with. IF each element has a
> different set of attributes, you can end up with zillions
> of special cases in your processing code, and you will always
> be looking up which elements can take an n attribute, or
> a subtype, or whatever.
>
With these three attributes I agree it makes sense for to have a common
set of attributes that can be relied upon.
Todd
> -Harry
>
>
> > -----Original Message-----
> > From: owner-osis-core@bibletechnologieswg.org
> > [mailto:owner-osis-core@bibletechnologieswg.org] On Behalf Of
> > Todd Tillinghast
> > Sent: Friday, August 30, 2002 1:44 PM
> > To: osis-core@bibletechnologieswg.org
> > Subject: RE: [osis-core] osisCore_Candidate.1.1_006 - 3 -
> > elements that should have a splitID attribute
> >
> >
> > The remaining attributes in globalAttributes by way of
> > commonAttributes are
> > ID
> > lang
> > type
> > subType
> >
> > I think many elements do not need all of these attributes.
> >
> > Is there anyone that would argue that all four of these
> > elements are needed on ALL of the elements that currently have them?
> >
> > Todd
> >