- From: Gus Tavares <gus_tavares@freewebemail.com>
- Date: Thu, 18 Oct 2001 07:10:11 -0300
- To: www-amaya@w3.org
Problem: Amaya 5.1 alters attributes of a meta element into incorrect form after a "save" is done in the formatted view window. When one pastes, for example, the following <?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" /> <meta name="GENERATOR" content="amaya 5.1" /> <title>No title</title> </head> <body></body> </html> into a notepad and then saves it as a web page, then when in Amaya's formatted view one alters and saves it, Amaya 5.1(WinMe) changes the above to <?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" charset="iso-8859-1" /> <meta name="GENERATOR" content="amaya 5.1" /> <title>No title</title> </head> <body> <p>foo</p> </body> </html> Notice the changes made in the first meta element: that is, from <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1" /> to <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" charset="iso-8859-1" /> The errors (aren't they errors?) include: * The ending double quotation mark of content="text/html" is replaced by a semicolon. * The attribute charset="iso-8859-1" is missing the starting double quotation mark. * Both the errors above probably account for the repetition of the attribute charset="iso-8859-1" in the changed meta element. In fact, Amaya is always changing the meta element to that no matter what you start with. Even the meta element of the "Welcome to Amaya" page that comes with the download of Amaya is altered incorrectly when one does a "save" in the formatted view of the page. Try it. Gus Tavares e-mail: gus_tavares@freewebemail.com -------------------------------------------------- Find A Friend - http://www.megafriends.com Free Web Email - http://www.freewebemail.com --------------------------------------------------
Received on Thursday, 18 October 2001 05:49:56 UTC