[osis-core] <list><item> question

Patrick Durusau osis-core@bibletechnologieswg.org
Thu, 14 Nov 2002 16:38:30 -0500


Harry,

Harry Plantinga wrote:

>>Harry,
>>
>>The content model for <item> is mixed so it should be allowing PCDATA 
>>plus the allowed internal elements. What software are you 
>>using? (BTW, 
>>
>
>Just to confirm, changing the "minoccurs" to 0 for children of <item>
>fixes the problem. 
>
Thanks! I searched for all other mixed="yes" and it does not appear to 
be a problem elsewhere. I suspect it happened because we allowed <label> 
(but did not require it) inside of <item>.

The only other places where sequence is not minOccurs="0" is for note 
and speech, all of the children of which are optional and it is simply 
not specified. I assume no one has had problems with just putting PCDATA 
in <speech> and <note>?

I have the full version of XMLSpy but have been avoiding the latest upgrade.

So, fixing <item> to read:

The <xs:sequence minOccurs="1" maxOccurr="unbounded"> (current, wrong)

to read:

<xs:sequence minOccurs="0" maxOccurs="unbounded"> (proposed, correct)

Patrick

 


>
>-Harry
>

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu