Re: Using existing staff.xml based tests with HTML processors

Using Curt's files, I just modified attname.xml, with a new
name of hc_attrname.xml -- I'll submit it shortly.  There
were very few changes -- essentially, change "address"
to "abbr" and "street" to "class".  I also had to add
ignorecase="auto".  I'll submit the file -- I haven't
run it yet -- I'm working on a different platform, and
am currently installing the components necessary to
build the test suite.  If someone else runs it, let me know
how it turns out.

--Mary

----- Original Message -----
From: "Curt Arnold" <carnold@houston.rr.com>
To: <www-dom-ts@w3.org>
Sent: Friday, March 08, 2002 10:13 AM
Subject: Re: Using existing staff.xml based tests with HTML processors


> > I believe it would be more useful to use constructs like <div
> class="employeeid"> and <a class="domestic" href=2xx">
> >
>
> That would require more substantial changes to the body of the test, since
> the set up in most of the tests use a getElementsByTagName() to locate the
> element that is the focus on the test.  If there is not a one-to-one
> correspondance of an existing tag name to an HTML tag name, then a
different
> mechanism would have to be used to locate the focal element and the
existing
> tests and the HTML compatible tests would diverge more than necessary.  In
> addition, all tests that retrieved tag names would have to be changed to
> retrieve that class attribute.
>
> Also, I'm not sure why the differentiating on "class" would be more
> "useful".
>
>
> p.s. The file that I suggested last night does display identically in
Opera,
> Mozilla and IE.  It can be accessed from cvsWeb at
>
http://dev.w3.org/cvsweb/~checkout~/2001/DOM-Test-Suite/tests/level1/core/fi
> les/hc_staff.html?
>
>
>

Received on Friday, 8 March 2002 10:24:03 UTC