- From: Vincent Quint <Vincent.Quint@inrialpes.fr>
- Date: Tue, 03 Jul 2001 11:44:03 +0200
- To: Walter Bächi <wbaechi@acm.org>
- Cc: www-amaya@w3.org, Vincent.Quint@inrialpes.fr
Thanks for the bug report, Walter. What happens is that, when you insert a DIV, Amaya creates the DIV, plus an empty element, some kind of place holder, as a child of the DIV, and it selects that empty element. If you look at the status bar, at the bottom of the window, you will see "Element \ div \ ..." If you create an attribute at this time, the attribute is associated with the selected element, i.e. the empty element. Amaya is wrong: it should not allow you to create an attribute there. This bug is fixed now, just on time for the new release. Vincent. Walter Bächi wrote: > > Hi all > There seems to be a bug in Amaya 4.3.2 (using XHTML) regarding empty DIVs: > When I insert a DIV, select it, and add an attribute, eg. a class, and > save it, Amaya produces: > > <?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>No title</title> > > <meta name="GENERATOR" content="amaya V4.3.2" /> > > </head> > > <body> > > <div> > > class="xxx"</div> > > </body> > > </html> > > Fortunately, after correcting the DIV (eg. by a text editor), > Amaya keeps it correct over load/save-cycles. > > Regards > > -- > Walter Bächi > wbaechi@acm.org
Received on Tuesday, 3 July 2001 05:44:25 UTC