IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: esobrino
About
User Name: esobrino
Forum Rank: Newbie
Real Name:
Location Enfield
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, December 23, 2015
Last Visit: Tuesday, August 1, 2017 4:50:23 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: NIEM Support
Posted: Tuesday, August 1, 2017 4:50:23 PM
Although Altova claims that there is NIEM Support (e.g. in XMLSpy), I searched over the web and couldn't find any reference on how specifically it is supported or how to use their product to prepare an NIEM-IEPD.

If there are tutorials, or any reference on how to load the NIEM Reference Model(s), prepare subset and extension schemas details will be appreciated.

Ed.
Topic: XSD to C#
Posted: Wednesday, December 23, 2015 4:51:29 PM
Generated C# code does not contain expected XML attributes on each data-element for example:

[System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceCallOriginatorType))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(PersonType1))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://niem.gov/niem/niem-core/2.0")]
public partial class PersonType : ComplexObjectType
{

Having those will allow serialization using other tools not just Altova.

If there is a way to influence the C# code generation to do so, please let me know.

Eduardo

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.