AMSP-04 / NETN-ORG

NATO Education and Training Network (NETN) Organisation (ORG) Module
Other
1 stars 1 forks source link

Investigate how domain specific elements can be separated out from Schema. #48

Closed lofstrandbjorn closed 4 years ago

lofstrandbjorn commented 4 years ago

Perhaps put AIS extensions as an NETN-AIS.xds and NETN-ORG xsds can link to/in these extensions???

lofstrandbjorn commented 4 years ago

I was able to fix this by adding a CustomData element for Units and EquipmentItem. It has a anyType type and in the XML instance document you can put any element in. I also created a NETN-AIS.xsd that defines the Vessel and SAR data elements that can be used to add scenario initialization information as CustomData. I propose to put the NETN-AIS.xsd in NETN-AIS module and add text on how it relates to NETN-ORG. Currenlty NETN-AIS.xsd is in NETN-ORG repo.

bergtwvd commented 4 years ago

Great. I am not an XSD expert, but I wonder how to generate a single component of code from two (de-coupled) XSD files. This is probably more an issue for whoever develops the ORBAT application, but if it is know how this will work, then ...