← Prev in month ← Prev in thread
Next in thread → Next in month →

Nillable resource properties

From
Samuel Meder <>
Date
2004-07-29T17:54:28+00:00
ID
Thread
Nillable resource properties
Here is the promised writeup on nillable resource properties:

Nillable Resource Properties

During the work in the TC the question of what how to deal with nillable
resource properties was raised. The following cases of interest were
identified:

     1. The ResourceProperty was not declared nillable, but is nil. This
        is in violation of one of the fundamental assumptions that the
        specification makes, i.e. that the resource properties document
        is validatable at any given time, and should thus never occur in
        a compliant implementation.
     2. The ResourceProperty is declared nillable and is nil.
        Irrespective of its minOccurs value a call to
        getResourceProperty on this property should return the
        ResourceProperty element decorated with a xsi:nil="true"
        attribute, e.g. <wsrl:TerminationTime xsi:nil="true/>
     3. The ResourceProperty is declared nillable and minOccurs="0" and
        there is no occurrence in the resource properties document. In
        this case a call to getResourceProperty on this property should
        result in an empty response. 


/Sam

-- 
Sam Meder <>
The Globus Alliance - University of Chicago
630-252-1752
← Prev in month ← Prev in thread
Next in thread → Next in month →