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

RE: more discussion on warnings in EARL

From: Carlos Iglesias <carlos.iglesias@fundacionctic.org>
Date: Mon, 18 Dec 2006 16:38:11 +0100
Message-ID: <09700B613C4DD84FA9F2FEA5218828190199C425@ayalga.fundacionctic.org>
To: "Johannes Koch" <johannes.koch@fit.fraunhofer.de>, <public-wai-ert@w3.org>

 
Hi Johannes,
Look at the end...

> 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?

Yes it is.

And the rule establishing that an earl:warning is raised when the mediaType test fails is just part of the CONTENT_FORMAT_SUPPORT test case definition (it's a test case question, nothing to do with results)

Regards,
 CI.
 
--------------------------------------

Carlos Iglesias

CTIC Foundation
Science and Technology Park of Gijón
33203 - Gijón, Asturias, Spain 

phone: +34 984291212
fax: +34 984390612
email: carlos.iglesias@fundacionctic.org
URL: http://www.fundacionctic.org
Received on Monday, 18 December 2006 15:38:52 GMT

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