XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XMLisms and HTML parsing and modes

On 17/12/2010 00:23, Liam R E Quin wrote:
> So it was in HTML at least as far back as 1995.
>

> It was probably done so that attribute values didn't need to
> be quoted as long as they parsed as SGML tokens, but had the
> consequence of enabling a whole bunch of other <i/features/



with the html4 sgml declaration <br/> parses as <br>> so it should cause 
a linebreak then typeset a >, and <div/> similarly parses as <div>> so 
should typeset a > at the start of the div.

But as you indicate, typical browsers didn't implement / as specified.
html5 specifies what they did, more or less.

David


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS