W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

JTidy removing attributes when tidying up a HTML page

From: Dirk Weigenand <Dirk.Weigenand@smb-tec.com>
Date: 08 Jan 2004 13:54:00 +0100
To: html-tidy@w3.org
Message-ID: <lhwu827g9j.fsf@smb-tec.com>


i already tried on the jtidy mailing list on sourceforge but have got no
response so far. So i'm reposting my question on this list:

I'm using JTidy in conjunction with HTTPUnit for some web testing.

When i get the DOM from HTTPUnit (WebConversation.getCurrentPage().getDOM())
and then look up an Element by id (either by document.getElementById() or via
iterating over the DOM and inspecting the attributes of each element) all id
attributes are removed.

Is this something one can change via a configuration option or can give me
someone a hint as to the deeper reasons behind this problem?

Dirk Weigenand                      mailto:Dirk.Weigenand@smb-tec.com
SMB GmbH                                       http://www.smb-tec.com
Received on Thursday, 8 January 2004 08:14:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC