|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Mixed content and empty content
From: Michael Kay <mike@saxonica.com>
Date: Thu, 1 Nov 2007 12:52:14 -0000 To: "'Pete Cordell'" <petexmldev@tech-know-ware.com>, "'Shlomo Yona'" <S.Yona@F5.com>, <xmlschema-dev@w3.org> Message-ID: <00cd01c81c86$070b5e00$6501a8c0@turtle> > > 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/Received on Thursday, 1 November 2007 12:54:25 GMT |
Subscribe in XML format
|






