Greetings,
I have started working on schema for ASN.X data modules. We can make use of this post in order to discuss ideas and issues regarding ASN.X modules, So that I can support those changes in Schema.
To start with I have below questions:
Questions:
-
Consider the sequence below, typeField and valueField elements have different sequences in different files. Do we need to allow such flexible sequences? OR the need for a strict sequence like typeField should always come after valueField. This is one example, In general what we prefer the flexible sequence or the strict sequence.
<namedClass name="ATTRIBUTE"> <class> <typeField name="Type"/> <valueField name="id" unique="true" type="asnx:OBJECT-IDENTIFIER"/> </class> </namedClass>
More such examples a. namedClass should appear after namedType element. b. optional should appear after all
- Found below two versions of tagged element, Do we need to support both?
The first block has element which also can also be defined directly using @type for tagged element.
But It can make sense in case the is non empty. But here we can also replace the first instance as - <type><tagged number="0" tagging="explicit" type="DataObject"/></type>
<type>
<tagged number="0">
<type explicit="true">
<sequence/>
</type>
</tagged>
</type>
<type>
<tagged number="3" tagging="explicit" type="Extensions"/>
</type>
Thanks, Bharat