OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Yet another validity question

[ Lists Home | Date Index | Thread Index ]
  • From: "Liam R. E. Quin" <liamquin@interlog.com>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Sun, 25 Apr 1999 00:16:26 -0400 (EDT)

On Sun, 25 Apr 1999, Marcus Carr wrote:

> From: Marcus Carr <mrc@allette.com.au>
> 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.

Lee

-- 
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:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS