[osis-core] level attrib added to <q>

Todd Tillinghast osis-core@bibletechnologieswg.org
Thu, 7 Nov 2002 14:13:54 -0700


Just a note regarding the level attribute:  It may end up being more of
a curse than a blessing when writing sytlesheets if you have to check
for the accuracy of the level attribute in the presence of the
possibility of errors in encoding the level value.

On the other hand we can write stylesheets that assume the encoding is
error free and just stop when a fatal condition exists.  I would rather
live with this than have not level attribute at all.

Todd

> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
> core@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Thursday, November 07, 2002 12:41 PM
> To: osis-core@bibletechnologieswg.org
> Subject: Re: [osis-core] level attrib added to <q>
> 
> Troy,
> 
> Not sure what the level attribute buys you? Err, walk the stack?
Parsing
> is from top down, at least for properly nested quotes.
> 
> Would have a better argument with milestones marking quotes, since
there
> is no tree to walk down. But you would need to use Start and End
> milestones to carry the attribute and its value.
> 
> Can you say some more about this?
> 
> Patrick
> 
> Troy A. Griffitts wrote:
> 
> > <q> should contain an optional 'level' attribute to allow
designation
> > of the depth of the quote, e.g.
> >
> > John said, <q level="1">The people say, <q level="2">Where is our
> > God?</q>.  But I say: open your eyes!</q>
> >
> >
> > All quotes at certain level can be rendered with the same ", ', `,
or
> > what-have-you, characters.
> >
> > (I realize this can possibly be derived, but this is so common, that
> > it is much easier to tag quotes inside quotes with level="2", than
to
> > walk the parent stack for each quote to see if it is a subquote.)
> 
> 
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
> 
>