I'd like to propose a small change in llrpdef.xml regarding the
C1G2TagSpec Parameter.
Currently this contains two identical tag patterns (TagPattern1,
TagPattern2), one which is mandatory and the other is optional. It is
also the *only* place in the LLRP spec where a parameter is given a
name. Fields commonly have names, but parameters are left nameless or
contain a name that matches the parameter type.
Since the tag patterns are idenentical and even referred to in the UML
as a 1..2, I'd like to change
<parameterDefinition name="C1G2TagSpec" typeNum="338">
<annotation>
<documentation>
reference 15.2.1.3.1 and 16.3.1.3.1
</documentation>
</annotation>
<parameter repeat="1" type="C1G2TargetTag" name="TagPattern1"/>
<parameter repeat="0-1" type="C1G2TargetTag" name="TagPattern2"/>
</parameterDefinition
to
<parameterDefinition name="C1G2TagSpec" typeNum="338">
<annotation>
<documentation>
reference 15.2.1.3.1 and 16.3.1.3.1
</documentation>
</annotation>
<parameter repeat="1-2" type="C1G2TargetTag" name="C1G2TargetTag"/>
</parameterDefinition
This significantly simplifies the serialization of LLRP to and from XML
(via llrp.xsd) and also creates a better programming API for managing
the patterns. This required no change to the schema llrpdef.xsd, so
code generators conforming to that schema should see no effect.
However, it will change the user's API via a change to the object
structure. Where previously, users would see two named elements with
tag patterns, they would now see a list of tagPatterns.
I wanted to socialize this change and make it before a beta release of
C, C++ and Perl, which is likely to come relatively soon. This will
cause a corresponding change in the LLRP.xsd schema as well.
Regards
Paul
-------------------------------------------------------------------------
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