XML TutorialLesson 17Free preview
XML Validator
This lesson is part of XML · All levels
Summary
XML validators check whether a document meets XML rules, either rules of well-formedness or scheme rules such as DTD or XSD. The test results help developers find data structure errors before the documents are processed by the application. Validation is important when XML becomes a data contract between two systems.
Key points
- Validator checks document compliance with XML rules
- Well-formedness means the right tag structure
- Validity means that the document also meets the DTD or Schema
- Validator is available as an online tool, editor, and parser API
- Validation detects errors early before data is processed
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.