Re: [xml-dev] XMLisms and HTML parsing and modes (was: Re: XML5)

From
James Clark <>
To
Date
2010-12-17T02:14:01Z
ID
<AANLkTi=3q7qu=>
Thread
Re: [xml-dev] XMLisms and HTML parsing and modes (was: Re: XML5)

(4) the xml variant, <br/>, is based on changing NET to "/>", and
   although any SGML document (and hence any HTML document before
   HTML 5) can change the SGML declaration to allow />, the default
   was <br/ and not <br/>

This wasn't altogether satisfactory because it meant you would be omitting the end-tag, so we actually amended SGML so that you could specify separate delimiters for start-tag close and the end-tag when using NET markup minimization.  With this approach, the NESTC (net-enabling start-tag close) delimiter is "/", and the NET delimiter (used just for the end-tag) is ">".  See

http://www.w3.org/TR/NOTE-sgml-xml-971215

James