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.

Project code - Validate XML Options · View
alessiodipaola
Posted: Thursday, May 6, 2021 3:24:38 PM
Rank: Newbie

Joined: 5/6/2021
Posts: 2
Hello everybody,

I have a question for those who have more experience using Altova MapForce.

If I try to map an EDIFACT file into an XML file, using an XSD schema, the fields are associated correctly and no errors are reported in the "Messages" box.

However, if the XSD file contains restrictions on some fields (example: limited domain values) it is possible to verify these errors only through "Output / Validate output files" and, if I try to generate the project code, I lose this functionality entirely.

Is there a way to ensure that the validation process is included in the mapping, especially at the generated code level?

Thanks so much
K101
Posted: Monday, May 10, 2021 3:34:05 PM
Rank: Advanced Member

Joined: 2/27/2009
Posts: 441
The generated code doesn't include any XML validation functionality. The intention is that you use the validation provided by the underlying platform such as MSXML (C++), System.XML (C#), or JAXP (Java).
alessiodipaola
Posted: Tuesday, May 11, 2021 2:59:13 PM
Rank: Newbie

Joined: 5/6/2021
Posts: 2
Ok, thank you very much!
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

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