W3C home > Mailing lists > Public > www-dom-ts@w3.org > December 2001

Re: contentType/offline fixes

From: Curt Arnold <carnold@houston.rr.com>
Date: Mon, 10 Dec 2001 10:39:06 -0600
Message-ID: <000a01c18199$2fcf51e0$7600a8c0@CurtMicron>
To: <www-dom-ts@w3.org>
The contentType attribute goes on the suite element to specify that the
tests in the suite should be run using they specified contentType.

<suite name="svg_alltests" contentType="image/xml+svg"...>
<suite.member href="alltests.xml"/>
</suite>

The contentType element would be used as a condition when the expected value
differs with contentType, for example:

<if>
<contentType type="image/xml+svg"/>
<assertEquals actual="docElemNodeName" expected='"svg"' id="svgdocelem"
ignoreCase="false"/>
<else>
<assertEquals actual="docElemNodeName" expected='"staff"' id="docelem"
ignoreCase="false"/>
</else>
</if>


----- Original Message -----
From: Mary Brady
To: Curt Arnold
Sent: Monday, December 10, 2001 9:16 AM
Subject: Re: contentType/offline fixes


Okay -- could you refresh my memory -- where
does the contentType go ?
Received on Monday, 10 December 2001 11:41:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:45 GMT