<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6829</bug_id>
          
          <creation_ts>2009-04-16 17:01:31 +0000</creation_ts>
          <short_desc>moki: generic retrieval status attribute?</short_desc>
          <delta_ts>2012-12-04 00:50:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="Dominique Hazael-Massieux">dom</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24778</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-16 17:01:31 +0000</bug_when>
    <thetext>Description
-----
As explained in bug 6828, we do not have any generic way to represent a failure to retrieve a resource in a moki representation. The only thing we have so far is the HTTPerror element that may appear in an HTTPResponse element, and that is specific to the HTTP scheme.

In short, there is no way to represent a FailedRetrievalElement in a scheme-independent way.

This could be useful for tests, because they could then know whether a given resource could be retrieved or not.


Solution
-----
Add a status attribute to the retrieval element (whose value would be OK or ERROR)? Specific schemes will need specific error codes, but the information tests should be interested in is &quot;could the resource be retrieved?&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>