- From: Cristiano Guglielmetti <cguglielmetti@alice.it>
- Date: Sun, 6 Jan 2013 11:16:12 +0100
- To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Cc: HiddenId <courriel_achevrier@yahoo.fr>, "www-amaya@w3.org" <www-amaya@w3.org>
- Message-ID: <CALtrw8-Ydwtq0owSsTPB9jYBnUSFP8j4+XZC_mHnHdMc1rQjnw@mail.gmail.com>
*With Amaya 11.4.4 under Win7 with this code:* <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>Nuovo</title> <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/"> </head> <body> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> <object data="movie.mp4" width="320" height="240"> <embed src="movie.swf" width="320" height="240"> </object> </video> </body> </html> *I get no errors by Amaya (also saving and reloading)* *With this code* <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Nuovo1</title> <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" /> </head> <body> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> <object data="movie.mp4" width="320" height="240"> <embed src="movie.swf" width="320" height="240"> </object> </video> </body> </html> I get *** Errors/warnings in C:\Users\Cristiano\Documents\Nuovo1.html line 13, char 40: not well-formed (invalid token) 2013/1/5 Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> > Cristiano Guglielmetti, Fri, 4 Jan 2013 20:44:37 +0100: > > Probably you left the doctype default declaration of Amaya, which is > XHTML. > > When you create the new document you should declare it as HTML > > Transitional into New Document tab view. Indeed, if you have set it > > as HTML Transitional you will not have errors by Amaya: > > This seems to be incorrect — Amaya still reports that <video> is an > unknown/unsupported element even if the document is a a HTML4 > transition kind of type. > > Leif H Silli
Received on Sunday, 6 January 2013 10:16:40 UTC