Re: Comments on XHTML 2.0 document conformance requirements

"Ian Hickson" <ian@hixie.ch> wrote in message 
news:Pine.LNX.4.61.0505292201590.32387@dhalsim.dreamhost.com...
> On Sun, 29 May 2005, Henri Sivonen wrote:
>>
>>  * Simplifying the example to:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en">
>>   <head>
>>     <title>Virtual Library</title>
>>   </head>
>>   <body>
>>     <p>Moved to <a href="http://example.org/">example.org</a>.</p>
>>   </body>
>> </html>
>
> It could be simplified further by removing the <?xml?> line, which is
> redundant. Also, the entire example is rather poor, since a redirect would
> be much better done as a 30x redirect, and having the primary example of
> an XHTML document be the entity body of a 30x, which is not usually seen
> by users, seems suboptimal.

Why not just

<html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en" 
src=http://example.org/ href="http://example.org/" rel="http:Moved" 
xmlns:http="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" />

Seems simpler..

Cheers,

Jim. 

Received on Sunday, 29 May 2005 22:17:08 UTC