Re: text/html for xml extensions of XHTML

> a.  It begins, apart from white space, with the string "<?xml " .

white space is not allowed before the XML declaration.
If you were going to do this testing I'd _only_ test for 
that and only test the first few characters.

The comment that <?xml upsets some HTML browsers isn't really
applicable if it is being added specifically to flag the document needs
an xml parser.

It would be nice if Mozilla could do this, although I agree that it
would be nicer still if IE would recognise XHTML files served as XML.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp

Received on Wednesday, 2 May 2001 09:58:26 UTC