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?
|
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
|