W3C home > Mailing lists > Public > public-wai-ert@w3.org > December 2006

Re: more discussion on warnings in EARL

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Mon, 18 Dec 2006 16:22:12 +0100
Message-ID: <4586B224.8010002@fit.fraunhofer.de>
To: public-wai-ert@w3.org

Carlos Iglesias schrieb:
>> earl:TestResult rdf:ID="result1"
>>   |-earl:validity: earl:pass
>>   |- dc:title: Media Type test
>>   |- dc:description: text/html is an allowed, but not 
>> recommended media type.
>>
>> earl:TestResult rdf:ID="resultN"
>>   |-earl:validity: earl:pass"
>>   |- dc:title: Content Format Support
>>   |- dc:description: The content format support is OK
> 
> The problem with this representation is that you have the "warning advise" at the atomic test level, not at the overall test outcome (the CONTENT_FORMAT_SUPPORT test)

So the validity for the testable CONTENT_FORMAT_SUPPORT_mediaTypeMarkup 
(sub-test) is earl:fail:

earl:Assertion rdf:ID="assertion1"
  |- earl:testable CONTENT_FORMAT_SUPPORT_mediaTypeMarkup
  |- earl:result
      |- earl:TestResult rdf:ID="result1"
          |- earl:validity: earl:fail
          |- earl:instance -> PointerCollection1
          |- dc:title: Media Type test
          |- dc:description: text/html is an allowed, but not 
recommended media type.

and the validity for the testable CONTENT_FORMAT_SUPPORT (super-test) is 
earl:pass:

earl:Assertion rdf:ID="assertionN"
  |- earl:testable CONTENT_FORMAT_SUPPORT
  |- earl:result
      |- earl:TestResult rdf:ID="resultN"
          |- earl:validity: earl:pass
          |- earl:instance -> PointerCollection1
          |- dc:title: Content Format Support
          |- dc:description: The content format support is OK
          |- earl:warning: text/html is an allowed, but not recommended 
media type.


Is that what you think?
-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065
Received on Monday, 18 December 2006 15:23:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:27 GMT