[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Gregory M. Messner" <gmessner@b...>
  • To: xml-dev@l...
  • Date: Wed, 12 Sep 2001 17:55:11 -0700

<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@m...]
Sent: Wednesday, September 12, 2001 4:54 PM
To: xml-dev@l...
Subject: Re:  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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member