[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xml-dev] Handling of empty content and white space-only content?
Chris Burdess writes:
> toby@... wrote:
> > When I say that whitespace is significant, then I'm not referring to
> > the whitespace within an element tag:
> > < foo /> and <foo/> are equivalent.
>
> No. < foo /> is not well-formed.
Didn't know that, but you're right. There may be no space after the '<'
and before the element name. Spaces after the element name are OK though.
|