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

  • From: Kohsuke KAWAGUCHI <kohsukekawaguchi@y...>
  • To: "Gregory M. Messner" <gmessner@b...>
  • Date: Wed, 12 Sep 2001 16:32:18 -0700


> Again notice that each particle is optional but the content model itself is
> not. Without even considering XML Schema, would the following be valid XML?
> 
> DTD fragment:
> <!ELEMENT A (B?, C?, D?)>
> 
> XML document fragment:
> <A></A>

Yes, of course. I haven't re-read the spec for this answer, but there
are literally hundreds of XML vocabularies that uses empty element. For
one, in XHTML, we have <br/> and <hr/>.


regards,
----------------------
K.Kawaguchi
E-Mail: kohsukekawaguchi@y...


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