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.

How to validate code generated xml Options · View
jmgreen7
Posted: Thursday, August 21, 2014 3:42:42 PM
Rank: Newbie

Joined: 8/21/2014
Posts: 1
I created a C++ dll based on my schema, and now i'm going through getting acclimated to the available code. One of the first things i'd like to do is validate the xml that i am creating, but i don't seem to see any calls that will do that. Is there something i missed when creating the dll?
island
Posted: Friday, August 22, 2014 4:25:08 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
Hi,

there is no method to validate the xml in the generated code, i.e. the generated code provides wrapper classes for the DOM but does not provide any validation facilities. For this you would need to call a validating engine e.g. RaptorXML to validate your xml file:

https://www.altova.com/raptorxml.html

It would also be possible to use the XML Spy API to validate the file:

http://manual.altova.com/XMLSpy/spyenterprise/document_isvalid.htm






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.