I've got two changes to recommend to llrp-1x0.xsd. Please review and comment.

Paul

A)      The LTK has decoding options for many types, including a few that are 
not used specifically in LLRP.  The following two vector types were left out of 
the llrp.xsd file

            <xs:simpleType name="listOfSignedShort">
                        <xs:list itemType="xs:short"/>
            </xs:simpleType>

            <xs:simpleType name="listOfSignedInt">
                        <xs:list itemType="xs:Int"/>
            </xs:simpleType>

LTKC and LTKCPP and LTKPerl already handle these types.  It's a matter of 
updating LTKJava (not tested) and LTKNET.  I'll make the changes to LTKNet 
shortly

     B)  Add an additional schema called llrp-global-1x0.xsd which would 
include the core schema and then define all the parameters as top level 
elements.  This schema is required by folks using LLRP parameters within their 
custom extensions.  We had discussed this some time ago and folks were hesitant 
about putting this in the core schema.  I don't feel that we need to 
incorporate this into all the toolkit immediately as they do not perform schema 
validation.  It's mostly a tool that we can use to validate LTK-XML packets 
against the vendor extension schemas.

<?xml version="1.0" encoding="utf-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
           xmlns:llrp="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0";
           xmlns="http://ltk.example.com/ltk/schema/encoding/xml/0.1";
           
targetNamespace="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0";
           elementFormDefault="qualified">

  <xs:include 
schemaLocation="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0/llrp.xsd"/>

    <!-- Parameter top-level elements -->
    <xs:element name="AccessCommand" type="llrp:AccessCommand"/>
    <xs:element name="AccessReportSpec" type="llrp:AccessReportSpec"/>
    <xs:element name="AccessSpecID" type="llrp:AccessSpecID"/>
    <xs:element name="AccessSpecStopTrigger" type="llrp:AccessSpecStopTrigger"/>
    <xs:element name="AccessSpec" type="llrp:AccessSpec"/>
.....
</xs:schema>


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to