[tei-council] [ tei-Bugs-3532022 ] <lg> should be allowed in <p>

Martin Holmes mholmes at uvic.ca
Tue Jun 5 19:52:59 EDT 2012


On 12-06-05 02:32 PM, Lou Burnard wrote:
> Looking at the content models, it's clear (and experiment confirms) that
> the way to do this would be to remove lg from membership in
> model.divPart before adding it to model.inter
>
> Anything else is guaranteed to lead to tears before bedtime

That makes sense.

model.divPart also includes model.lLike (<l>), and now I wonder if as 
soon as we do this for <lg> the case for doing it with <l> raises its 
ugly head too.

When I get a moment, I'll try to summarize all this on the ticket. I 
pointed Joe, who reported the problem, at the ticket so he could see how 
we dealt with it.

Cheers,
Martin

> On 05/06/12 17:47, Martin Holmes wrote:
>> On 12-06-05 08:32 AM, Lou Burnard wrote:
>>> On 05/06/12 17:25, SourceForge.net wrote:
>>>>> Comment By: Martin Holmes (martindholmes)
>>>> Date: 2012-06-05 08:25
>>>>
>>>> Message:
>>>> I think the simplest way to do this would be to add<lg>  to model.inter
>>>> ("elements which can appear either within or between paragraph-like
>>>> elements"). Does anyone see any objection to this?
>>>>
>>>
>>> by all means try this, but i predict that numerous non-deterministic
>>> content models will be the result
>>
>> Why do you think so? How is<lg>  being a member of model.inter likely to
>> result in this when (say)<castList>  being a member is not?
>>
>> I'm asking rather than just steaming ahead and trying it because by the
>> time the build breaks I'll be in a workshop and I won't be able to fix
>> any resulting problem for hours.
>>
>> Cheers,
>> Martin
>>
>

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list