|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: whitespace before the trailing slash
> Not for HTML, but rather for another DTD which requires the whitespace > syntax. No DTD can require any particular white space within a tag. The only reason for doing it is to use XML syntax on existing HTML browsers and exploit their lax error handling. HTML is not a XML language so <br /> should be an error but it turns out that certain well known browsers accept it as long as the space is there, but that isn't because the HTML dtd requries a space, it is just because the parsing in HTML browsers is sufficiently broken that they accept anything that looks more or less like html, so may as well use this fact to get an xhtml browser `for free'. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








