I have a question regarding the use of the reserved field in llrpdef.xml and
llrp.xsd.
Llrpdef.xml allows for multiple "reserved" elements in a message definition:
<xs:complexType name="messageDefinition">
<xs:sequence>
<xs:element name="annotation" type="llrpdef:annotation" minOccurs="0"
maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="field" type="llrpdef:fieldDefinition"/>
<xs:element name="reserved" type="llrpdef:reservedDefinition"/>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="parameter" type="llrpdef:parameterReference"/>
<xs:element name="choice" type="llrpdef:choiceReference"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="name" type="llrpdef:name"
use="required"/>
<xs:attribute name="typeNum" type="llrpdef:typeNum"
use="required"/>
<xs:attribute name="required" type="xs:boolean" use="optional"/>
</xs:complexType>
The corresponding message definition of LLRP.xsd only allows for a single
reserved element (if I understand the definition of xsd attributeGroups
correctly):
<!-- Message header attribute group -->
<xs:attributeGroup name="headerAttrs">
<xs:attribute name="MessageID" type ="xs:unsignedInt"
use="required"/>
<xs:attribute name="Version" type="xs:unsignedShort" />
<!-- overrides for negative testing only -->
<xs:attribute name="Reserved" type ="xs:unsignedInt"/>
<xs:attribute name="Length" type ="xs:unsignedShort"/>
<xs:attribute name="TypeID" type ="xs:unsignedShort"/>
</xs:attributeGroup>
Does the "<!-- overrides for negative testing only -->" comment in LLRP.xsd
imply that these attributes should actually not be used in LTK XML?
- Christian
--
Christian Floerkemeier
Auto-ID Lab, Massachusetts Institute of Technology
phone: +1-617-324-1984
email: <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel