Re: Comments on XHTML 2.0 document conformance requirements

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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 29 May 2005 22:03:21 UTC