W3C home > Mailing lists > Public > www-html@w3.org > January 2003

RE: Promotion of XHTML

From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
Date: Tue, 7 Jan 2003 14:30:06 -0500
Message-ID: <A10A983C9DFBD4119F0300104B2EA6B725FF36@ZIPPY>
To: "'Russell O'Connor'" <roconnor@Math.Berkeley.EDU>, "'W3C HTML'" <www-html@w3.org>

> On Mon, 30 Dec 2002, Peter Foti (PeterF) wrote:
> 
> > Also, if <br /> in HTML was equivalent to <br>&gt;, then 
> that would seem to
> > indicate that every web browser out there is broken, and 
> should display this
> > as a line break followed by the greater than symbol.  I 
> don't know what
> > logic you are using to determine that <br /> = <br>&gt;, 
> but it seems flawed
> > to me.
> 
> Borris is correct.  Observe:
> 
> > sgmlnorm -d -c ~/sgml/catalog ~/sgml/15445/15445.dcl "<osfd>0"
> sgmlnorm:/home/u2/grad/roconnor/sgml/15445/15445.dcl:28:33:W: 
> characters
> in the
> document character set with numbers exceeding 65535 not supported
> <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
> Language//EN">
> <HTML><HEAD><TITLE>TEST</TITLE><BODY><P>break<br 
> />ing</P></BODY></HTML>
> <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
> Language//EN">
> <HTML>
> <HEAD>
> <TITLE>TEST</TITLE>
> </HEAD>
> <BODY>
> <P>break<BR>&gt;ing</P>
> </BODY>
> </HTML>
> 
> As you see, sgmlnorm parses <br /> as <BR>&gt;.  The same thing will
> happen if you use HTML 4.01 instead of ISO-HTML.
> 
> Most popular browsers fail to follow the requirements 
> indicated by Section
> B.3.7 of the HTML 4.01 recommendation.


I concede.  Per SGML, <br /> is the equivalent of <br>&gt;.  However, I
still have yet to see a browser that supports this SHORTTAG version.  Also,
I'm not sure what you mean by "The same thing will happen if you use HTML
4.01 instead of ISO-HTML."

Regards,
Peter Foti
 
Received on Tuesday, 7 January 2003 14:20:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT