[osis-core] <list><item> question
Harry Plantinga
osis-core@bibletechnologieswg.org
Thu, 14 Nov 2002 16:27:59 -0500
Patrick,
I shelled out $$$ for XML Spy because XMetaL can't handle
regular expressions in schemas correctly.
Yes, you have a mixed model, but it requires at least one
child element such as <p> or <milestone> or whatever.
-harry
> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org
> [mailto:owner-osis-core@bibletechnologieswg.org] On Behalf Of
> Patrick Durusau
> Sent: Thursday, November 14, 2002 4:05 PM
> To: osis-core@bibletechnologieswg.org
> Subject: Re: [osis-core] <list><item> question
>
>
> 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,
> check and make sure what I just said is true for the version of the
> schema you are using. I have the version we publically posted
> as 1.1 and
> it has the content model as indicated.)
>
> BTW, since I am fixing bugs, can you (Troy, Chris) forward
> snippets for
> problems such as these? I can check with XMLSpy (guess I need
> to re-up
> to the latest version) and Xerces and the IBM schema software.
>
> Thanks!
>
> Patrick
>
> Harry Plantinga wrote:
>
> >I'm trying to get <list>s to work, and I've found that
> >
> ><list>
> > <item>one</item>
> > <item>two</item>
> ></list>
> >
> >is not valid. You have to have some tags inside the <item>s. For
> >exmaple, you could say
> >
> ><list>
> > <item><p>one</p></item>
> > <item><p>two</p></item>
> ></lite>
> >
> >Is this intentional? If not, the fix would be to
> >change the content model to allow zero contained
> >elements rather than requiring one.
> >
> >-Harry
> >
>
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
>
>
>