OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrf message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: use case that I think needs to be addressed in the RP section of the spec


If a resource's props doc schema permits open content (i.e.: xsd:any),
and a GetRP or GetMultipleRPs request is received with a QName that
 a) that does not correspond to a prop that the schema explicitly
defines, and
 b) does not currently exist in the RP doc, 
what form of response should be returned:

A) an empty GetResourcePropertyResponseElement

or 

B) an InvalidResourcePropertyQName fault

?

I would think A) is more logical, since if the RP doc schema permits
open content, than any prop QName is valid according to the schema. It
just happens to be that there are currently no elements with the
specified QName in the RP doc. 

I think the spec needs to address this case for both GetRP and
GetMultiRPs. I think open content use cases need to be better addressed
for SetRPs Insert/Delete/Update too.

On a separate note, I find the definition of the
InvalidResourcePropertyQName fault under SetRPs/Delete ("A resource
property QName does not identify a proper number of resource
properties.") to be unclear. What exactly does this mean? That the RP is
not defined with minOccurs=0 ? If so, why not just say that?

Regards,
Ian


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]