Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Complete XML Schema Validation

I am looking for a tool that will tell me all of the XML Schema validation failures. All the other tools I have looked at so just tell me the first couple, and then I have to fix those before it will tell me the next errors. I realize that some errors may be dependent on other nodes being in different orders, but things like data types being formatted wrong should be able to be reported even if the nodes are in the wrong order.

I have already looked through the other tools suggest for other questions on here, and they all stop after the first failure. So if one of those tools will do what I want, then please let me know the steps to accomplish that.

A programming library or technique that will let me do this in .NET or Delphi would work to.

like image 552
Jim McKeeth Avatar asked Oct 18 '09 04:10

Jim McKeeth


People also ask

How does XML schema validation work?

XML validation is the process of checking a document written in XML (eXtensible Markup Language) to confirm that it is both well-formed and also "valid" in that it follows a defined structure. A well-formed document follows the basic syntactic rules of XML, which are the same for all XML documents.

How validation is done in XML explain with an example?

A complete XML file is considered to be valid XML document unless it has correct syntax and constraints defined in it. To check for the validation document type definitions follow two schemas and it is checked for well-doing so no need to consider the data and structure of the XML document.

What is DTD validation in XML?

Advertisements. We use DTD to describe precisely the XML document. DTDs check the validity of structure and vocabulary of an XML document against the grammatical rules of the appropriate XML language.


1 Answers

I use XMLNotepad a lot. (I don't know if you've already tried it.)

Its'free and does a good job at reporting a lot of errors simultaneously, provided they are independent and not terminal! About the same as the compiler errors in Delphi: once it has started on a false track everything following is often nonsense.

Anyway, it has worked very well for me to validate against quite intricated schemas like the TVB 3.2...

like image 78
Francesca Avatar answered Oct 02 '22 23:10

Francesca