[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Microsoft's deeply cynical appeal to"standards compliance"
At 05:03 AM 26/10/01 +0200, Bjoern Hoehrmann wrote: >XHTML documents delivered as text/html must be parsed as HTML documents, >not as XML documents, thus SGML rules apply. Consider a simple case like > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta name='foo' content='bar' /> > <title>...</title> > ... > >The /> closes the meta Element in HTML Er, no. Not unless you're using an SGML declaration with NET enabled. If HTML even has an SGML declaration (doubtful given that 99.9999999999999% of the community doesn't know what one is) I'm pretty confident that it doesn't enable NET. Or are you saying that there is an SGML decl that nobody's ever seen and that it does enable NET? -Tim
|
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
|