[Home] [By Thread] [By Date] [Recent Entries]
Richard Tobin wrote: > > [ re EMPTY content model ] > > > And: if WS is allowed, how about comments or PIs? > > Looking at the spec, it appears not. This seems a little surprising > to me, since content models usually only restrict element and text > content. ... and allow whitespace! It'd be a lot simpler if EMPTY just were interpreted to mean "no elements or #PCDATA allowed". One less special case to worry about. On the other hand, none of the content model validity restrictions mention comments or PIs. It's safest to read that as meaning that there are no restrictions ... else every implementor would write their own proprietary set of restrictions. - Dave *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|

Cart



