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.

Altova XML 2010 - Validate messages Options · View
Uhde
Posted: Tuesday, November 3, 2009 2:16:34 PM
Rank: Newbie

Joined: 11/3/2009
Posts: 2
Location: Germany
Hello,
I try to use the free tool "AltovaXML 2010" to validate a xml file with a xsd schemata.

I know that there are 4 validation errors in the xml file, but if I call the batch command:
AltovaXML.exe /v "xx.xml" /s "xx.xsd"
I get evertime ONLY the first error.

Is it possible to get/see all errors (in this case 4) at one time ?
(via parameter or what ever)

Hope someone can help me
Uwe
rip
Posted: Tuesday, November 3, 2009 2:31:58 PM
Rank: Advanced Member

Joined: 7/17/2008
Posts: 185
Location: Minutiae, Triviality
The validator's policy is that once the data is found to be invalid, the remainder of the data, from that point forward, is known to be invalid so there is no point continuing.


rip
Posted: Tuesday, November 3, 2009 8:37:48 PM
Rank: Advanced Member

Joined: 7/17/2008
Posts: 185
Location: Minutiae, Triviality
Of course, this isn't always the case that something invalid invalidates everything beyond that (for example, if the "invalid" part is a value not found in an enumeration list)...

but, that's what the validation does.
Uhde
Posted: Wednesday, November 4, 2009 6:32:00 AM
Rank: Newbie

Joined: 11/3/2009
Posts: 2
Location: Germany
Thanks for your answer,
but that is not what I need.
The validation is one step in a long transfer script, and it's too much trouble to start the sript after every new validation error.
It's better to get/see all errors, solve these errors and start the script again.
Sorry, but then I must look for another tool.
Thanks again
Uwe
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.