Lists Home |
Date Index |
- From: "Liam R. E. Quin" <email@example.com>
- To: XML Dev <firstname.lastname@example.org>
- Date: Sun, 25 Apr 1999 00:16:26 -0400 (EDT)
On Sun, 25 Apr 1999, Marcus Carr wrote:
> From: Marcus Carr <email@example.com>
> John Cowan wrote:
> > Liam Quin wrote:
> > > One reason it is there is to allow "elephants", but exclusions were
> > > later removed from XML:
> > > <!ELEMENT HOLDER - O (ELEPHANT*) -ELEPHANT>
> > > in which HOLDER must now be empty but can have a missing end tag.
> > I suppose you mean "can have an explicit end tag", no? After all,
> > ordinary EMPTY elements don't have end tags.
> I suspect that Liam was using "empty" in the sense that it is an element
> that cannot contain other elements because its content model doesn't
> allow it to, rather than one that has the declared content of EMPTY.
That's correct. In SGML (not XML) an EMPTY element cannot have an end tag.
If you are dealing with fully normalised data, it really helps if they
do have end tags -- the XML /> notation was devised for this purpose.
Liam Quin, GroveWare Inc., Toronto; The barefoot agitator
l i a m q u i n at i n t e r l o g dot c o m
Unix/C/SGML/XML/Perl, will manage programmers for socks and food.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)