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]

[xml-dev] Re: XML Schema ?

> 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/>.

E-Mail: kohsukekawaguchi@yahoo.com