|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Questions on XML syntax and conformance issues
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/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








