RE: Promotion of XHTML

> 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 UTC