RE: more discussion on warnings in EARL

 
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 UTC