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: [NEW ISSUE] Constraints on use of schema for resource properties document


Title: Constraints on use of schema for resource properties document

Description:

Section 4.2 of WSRF-RP lists a set of rules that must be followed to
create a resource property document. The rules are as follows:

"
1 The resource properties document MUST be a global element declaration
(GED) in some
  XML namespace. This GED defines the type of the root element of a
resource properties
  document and hence the type of the resource properties document
itself.

2 The resource properties document MUST be uniquely identified by a
QName.

3 The complexType defining the resource properties document MUST define
element children
  only.

4 The complexType defining the resource properties document MUST define
a collection of
  zero or more child elements, called resource property elements. Each
child element MUST
  be a GED.

5 The complexType defining the resource properties document MAY allow
open element
  content (xsd:any).
"

This set of rules prevents an arbitrary XML document from being accessed
through WSRF-RP. Existing resources already having XML representations
may break one of more of these rules, preventing this spec from
accessing those resources.

Rules #1 and #3 are only useful if all access to the representation of
the resource state is through properties. We also have
getResourcePropertyDocument and QueryResourceProperties that allow
non-property access.

Rule #4 is just repeating rule #1.

Rule #5 is not adding anything.


Proposed Resolution:

Remove the 5 rules and substitute a sentence indicating that a resource
properties document is created using XML Schema.



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