W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > October 2001

ATR and test file DTD

From: Wendy A Chisholm <wendy@w3.org>
Date: Mon, 15 Oct 2001 21:07:01 -0400
Message-Id: <4.2.0.58.20011015205404.00ba6580@localhost>
To: w3c-wai-er-ig@w3.org, chris.ridpath@utoronto.ca
Looking at a few files, it looks like the basic DTD is as follows. Is this 
correct, Chris?

<!ELEMENT aert-test (suggested_message+, comment+, evaluation+, content+) >
<!ELEMENT suggested_message (#PCDATA) >
<!ELEMENT comment (#PCDATA) >
<!ELEMENT evaluation >
<!ATTLIST evaluation
         id  CDATA #REQUIRED
         triggered CDATA (yes | no) #REQUIRED
<!ELEMENT content (#PCDATA)>

example 1:
<?xml version="1.0" encoding="iso-8859-1" ?>
- <aert-test>
<suggested_message>Applet has ALT text but not alternate 
content.</suggested_message>
<comment />
<evaluation id="aert1.0/1.1.4" triggered="no" />
- <content>
- <![CDATA[
<applet code="applet.class" alt="this applet doesn't do anything"></applet>
]]>
</content>

example 2:
<?xml version="1.0" encoding="iso-8859-1" ?>
- <aert-test>
<suggested_message>Missing FRAME title.</suggested_message>
<comment>FRAME title is invalid (NULL).</comment>
<evaluation id="aert1.0/12.1.1" triggered="yes" />
- <content>
- <![CDATA[
<frame title=""></frame>
]]>
</content>
</aert-test>

--
wendy a chisholm
world wide web consortium
web accessibility initiative
seattle, wa usa
/--
Received on Monday, 15 October 2001 21:05:46 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:10:39 GMT