Thanks for pointing this out.
Actually this is a u8v, not a parameter with a x-N cardinality. The
way I designed llrp.xsd was to have a one-to-one relationship between
fields and elements. For every field, including "arrays" there is
exactly one element.
So to cleave to the existing pattern we would create a list type
instead of allowing the field element to be repeated.
So what we need is a an xs:simpleType containing an xs:list of the
rp:AirProtocols type.
<xs:simpleType name="listOfAirProtocols">
<xs:list itemType="rp:AirProtocols"/>
</xs:simpleType>
<xs:complexType name="PerAntennaAirProtocol">
<xs:sequence>
<xs:element name="AntennaID" type="xs:unsignedShort" />
<xs:element name="ProtocolID" type="rp:listOfAirProtocols" />
</xs:sequence>
<xs:attributeGroup ref="rp:paramAttrs"/>
</xs:complexType>
would correct the problem.
-- John.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel