Re: Other possible issues with the Polyglot draft

On 30.11.2011 15:13, Henry S. Thompson wrote:


> 3) 'void' elements [3] -- the name is non-standard, and the
>    requirement:

void is term introduced in HTML5 spec (not that I like it)

>   "Polyglot markup uses the minimized tag syntax for void elements,
>    e.g. <br/>, rather than the alternative syntax <br></br>."
> 
>    seems unnecessary to me. . .

This is necessary as <br></br> gets parsed same as <br/><br/> by HTML
parser, see:

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0A%3Cbr%3E%3C%2Fbr%3E

    Jirka
-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Received on Wednesday, 30 November 2011 15:13:47 UTC