Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 17:28:26 -0500
From:      Christopher Masto <chris@netmonger.net>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Mikhail Teterin <mi@aldan.algebra.com>, ue@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/release/doc/en_US.ISO8859-1/hardware/alpha proc-alpha.sgml
Message-ID:  <20020313222826.GA764@netmonger.net>
In-Reply-To: <xzpbsdsgqiw.fsf@flood.ping.uio.no>
References:  <200203131806.g2DI6o3b087697@aldan.algebra.com> <xzpbsdsgqiw.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 13, 2002 at 09:29:43PM +0100, Dag-Erling Smorgrav wrote:
> In XML, all elements need a closing tag, unless the element is empty,
> in which case you can use the short form, like <br /> - note that the
> space is required by the specification

Not true.  Production 44: 

  [44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>'

http://www.w3.org/TR/2000/REC-xml-20001006#NT-EmptyElemTag

Note the '?'.

You may be thinking of XHTML, where the space is added for backward
compatibility with XML-unaware browsers.
-- 
Christopher Masto

CB461C61 8AFC E3A8 7CE5 9023 B35D  C26A D849 1F6E CB46 1C61

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313222826.GA764>