OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] Re: XML Schema ?



<p> has an optional repeating content model, so wrong there also:

<!-- %Inline; covers inline or "text-level" elements -->
<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">

<!ELEMENT p %Inline;>


I want the rule for a *non-optional* content model.


Greg

-----Original Message-----
From: Christopher R. Maden [mailto:crism@maden.org]
Sent: Wednesday, September 12, 2001 4:54 PM
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Re: XML Schema ?


At 16:47 12-09-2001, Kohsuke KAWAGUCHI wrote:
>OK, then <p> and <head> all have non-empty content model and yet <p/>
>and <head></head> are valid XHTML fragments.

Right on <p>, but <head> requires a <title>.

-Chris