Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Mixed content and empty content >Thread Next - RE: Mixed content and empty content RE: Mixed content and empty contentTo: "'Pete Cordell'" <petexmldev@--------------.--->, "'Shlomo Yona'" <S.Yona@--.--->, <xmlschema-dev@--.---> Date: 11/1/2007 12:52:00 PM > > What I'm not sure about is, given: > > <xsd:element name="foo"> > <xsd:complexType/> > </xsd:element> > > Is: > <foo> > </foo> > > a valid instance, i.e. is whitespace forbidden in an empty element? > Empty is a special case of element-only content, and whitespace is always allowed in element-only content. I think. Michael Kay http://www.saxonica.com/ From S.Yona@F... Thu Nov 01 13:05:56 2007 Received: from magg | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
