ni / niveristand-aim-milStd1553-custom-device

Custom device for AIM MIL-STD-1553 hardware
MIT License
1 stars 2 forks source link

Modify XSD to enable XML Serialization #103

Open fmussi opened 1 year ago

fmussi commented 1 year ago

Is your feature request related to a problem? Please describe. In order to improve Serialization of XML files from applications written in LV or Python, I am proposing some changes to the XSD file to enalbe MS xsd utility to generate C# classes.

These changes should not impact the VS CD logic for parsing xml files.

Changes proposed (I have a PR ready for it):

line 55:
<xs:element type="xs:string" name="minorFrameRef" maxOccurs="unbounded"/>

line 180

remove <xs:choice maxOccurs="unbounded" minOccurs="0"> add <xs:sequence>