[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsn] Closing the WSN2.21
A resource properties document MUST be defined using the following rules:
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; it MUST NOT define attributes. The child elements MUST be
aggregated using xsd:sequence or xsd:all. The order of appearance of the
resource properties within the resource properties document does not matter
to WS-ResourceProperties.
4. The
complexType defining the resource properties document MUST define a sequence
of one or more child elements, called resource property elements.
a) Child
elements MUST be defined using XML schema element reference (@ref).
b) This
specification defines no additional restriction on the use of @minOccurs
or @maxOccurs or other information elements associated with the XML Schema
element definition.
5. The
complexType defining the resource properties document MAY allow open element
content (xsd:any).
4a) indicates ref= is required.
++++++++
Steve Graham
(919)254-0615 (T/L 444)
STSM, On Demand Architecture
Member, IBM Academy of Technology
<Soli Deo Gloria/>
++++++++
"Sedukhin, Igor S" <Igor.Sedukhin@ca.com>
07/12/2004 01:58 PM |
To: Steve Graham/Raleigh/IBM@IBMUS cc: <wsn@lists.oasis-open.org> Subject: RE: [wsn] Closing the WSN2.21 |
--
Igor Sedukhin
..
(igor.sedukhin@ca.com)
-- (631)
342-4325 ..
1 CA Plaza, Islandia, NY
11788
<xs:element ref="wsnt:Topics" minOccurs=”0” maxOccurs=”unbounded” />
ie not have the two options your email
suggested.
++++++++
Steve Graham
(919)254-0615 (T/L 444)
STSM, On Demand Architecture
Member, IBM Academy of Technology
<Soli Deo Gloria/>
++++++++
"Sedukhin, Igor S"
<Igor.Sedukhin@ca.com>
07/12/2004 01:48 PM | To: Steve Graham/Raleigh/IBM@IBMUS cc: <wsn@lists.oasis-open.org> Subject: RE: [wsn] Closing the WSN2.21 |
--
Igor Sedukhin
..
(igor.sedukhin@ca.com)
-- (631)
342-4325 ..
1 CA Plaza, Islandia, NY
11788
"Sedukhin, Igor S"
<Igor.Sedukhin@ca.com>
07/12/2004 01:37 PM | To: <wsn@lists.oasis-open.org> cc: Subject: [wsn] Closing the WSN2.21 |
In principle, two schema sniplets could be folded into one XML pseudo markup of an instance. In that case schema is implied, but implementers are free to do the ref or inline the XML element declaration.
E.g.
In the specification document it may be said:
The resource property document MUST contain the following elements.
<wsnt:Topics/>*
<wsnt:FixedTopicSet/>
<wsnt:TopicExpressionDialects/>*
This way in the actual WSDL, in the property document schema declaration, when this spec is implemented I could have either
<xs:element targetNamespace="...WSN…" name="Topics" type=”wsnt:TopicExpressionType” minOccurs=”0” maxOccurs=”unbounded” />
Or
<xs:element ref="wsnt:Topics" minOccurs=”0” maxOccurs=”unbounded”
/>
Note that either one is correct, implementation-wise.
Anyway that is just a cleanup. This is up to the editors.
--
Igor Sedukhin
..
(igor.sedukhin@ca.com)
-- (631)
342-4325 ..
1 CA Plaza, Islandia, NY
11788
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]