XML

Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1.

What is an XML processor?

2.

What's the difference between a standard parser and a validating parser?

3.

What is the main limitation of some web-based XML validation tools?

Quiz Answers

1.

An XML processor is usually part of a larger XML application, and its job is to process XML documents and somehow make the results available for further processing or display within the application.

2.

A standard parser first checks to see if a document is well formed, whereas a validating parser further checks to see if it is valid.

3.

Some web-based XML validation tools can be difficult to use when the documents to be validated (and their associated schemas) are stored on a local hard drive. The XML Schema Validator mentioned in this lesson is one notable online tool that doesn't suffer from this problem.

Exercises

1.

Modify one of the training log example documents so that the code intentionally violates the ETML schema. Run the file through a validation tool and take note of the error(s) reported.

2.

Repair the error code in the training log document and make sure that it validates properly in a validation tool.