[osis-core] <list><item> question
Thu, 14 Nov 2002 16:38:30 -0500
Harry Plantinga wrote:
>>The content model for <item> is mixed so it should be allowing PCDATA
>>plus the allowed internal elements. What software are you
>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)
<xs:sequence minOccurs="0" maxOccurs="unbounded"> (proposed, correct)
Director of Research and Development
Society of Biblical Literature