Element Order
In general, an XML schema allows the child elements under a given parent to be defined such that the element order is variable. Use of this feature would support QDoc syntax flexibility. However, it is not used for QAD Enterprise Applications QDocs because of the following constraints:
• All the complex elements corresponding to service interface and QAD JIT Sequencing API temp-tables are derived by extending the abstract base type
ApiTempTable, in order to define all the standard boilerplate temp-table fields in one place. However, the current release of XML schema forces all fields defined in the base type to precede the fields defined in the derived type, thus constraining the element order. See
Complex Elements.
• The QDocs intended for service interface and QAD JIT Sequencing API processing contain primarily multi-occurrence, complex child elements corresponding to the service interface and QAD JIT Sequencing API temp-tables. However, use of variable element order underneath a given parent is allowed only if all the children are single-occurrence elements.