W3C home > Mailing lists > Public > www-html@w3.org > April 1999

Re: XHTML 1.0 rfc

From: Chris Maden <crism@oreilly.com>
Date: Mon, 26 Apr 1999 10:23:51 -0400 (EDT)
Message-Id: <199904261423.KAA05060@ruby.ora.com>
To: www-html@w3.org
[Martin-Eric Racine]
> 1) XHTML uses lower-case for tags and attributes
>    IMHO, this goes against _every_ previous attempt to produce
>    clear, human-readable HTML source.  UPPER-CASE is _much_ easier
>    to read, as it clearly establishes a difference between URIs or
>    plain text and ATTRIBUTES or TAGS.

Please read the archives for this list; it's already been done to
death.  Summary: some people prefer upper-case, some prefer lower-

> 2) add a / to empty tags, e.g. <br /> and <hr /> 
>    Here, this would break the explicit statement that such tags are
>    never encapsulated.  If it's already stated, why complicate it?!
>    If it ain't broke, don't fix it...

This is non-optional.  XHTML is the re-casting of HTML in XML instead
of SGML; in XML, empty element tags end in />.  If you don't do that
in XHTML, then it's something else; maybe something worth doing, but
not what it set out to do.

> However, requiring _all_ attribute values to be quoted, plus the
> mandatory inclusion of closing tags (where it was previously made
> optional) are _very_ good ideas that will certainly clarify _many_
> things and help bullet-proof HTML rendition on any browser.

Which was exactly one of the goals of XML.  The empty element tags'
syntax is part of that goal; in arbitrary document types (which you'll
increasingly see on the Web), you need a distinctive syntax to
distinguish a start-and-end-tag from a start-tag, since it's no longer
possible to have a list of all known empty element types.

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
Received on Monday, 26 April 1999 10:27:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:50 UTC