Uploaded image for project: 'XJDF / JDF'
  1. XJDF / JDF
  2. JDF-665

Create example how to use of XSD 1.1 for device constraints

    XMLWordPrintable

    Details

      Description

      See: https://confluence.cip4.org/questions/55804061/clarification-about-device-capabilities-support?src=browse

      we could recommend XSD 1.1 for devcaps with constraints:

      https://www.w3.org/TR/xmlschema11-1/#Constraint_Summary

      check avaibility and quality of schema 1.1 aware tools

        Draft

        9.9 Use of XML Schema for Capability Descriptions
        Individual devices will never implement the entire XJDF specification. Meaningful communication between a controller
        and a device is only possible if the controller is aware of the limitations of the device.
        XJDF does not provide a proprietary method to define device capabilities. Since XJDF is an XML dialect, standard XML
        tools such as XML schema [XMLSchema] or ##ref https://www.w3.org/TR/xmlschema11-1 SHOULD be used to declare the supported features of a device.##ref https://www.w3.org/TR/xmlschema11-1 provides additional features to such as assertions and constraints that SHOULD be provided in device spcific schema.
        CIP4's schema for XJDF provides functionality to define the supported individual values of any attributes in XML. It currently
        does not provide conditional constraints for values that depend on the value of other attributes within the XJDF.
        This limitation is seen as acceptable for the benefit of using standard XML tools and may be addressed in a future version
        of this specification.
        CIP4 provides schema for the entire XJDF specification and reduced schema for ICS documents. Vendors are encouraged
        to provide XML schemas that define the supported XJDF features of their devices.
        Device schema for XJDF SHALL use the XJDF namespace for standard XJDF features.

        TBD Device schema example with constraints.

         

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  prosi Rainer Prosi
                  Reporter:
                  prosi Rainer Prosi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: