W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

Empty DIVs

From: Walter Bächi <wbaechi@webshuttle.ch>
Date: Tue, 03 Jul 2001 06:53:46 +0200
Message-ID: <3B414FDA.9020402@webshuttle.ch>
To: www-amaya@w3.org
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 00:51:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:24 UTC