Hour8.Validating XML Documents


Hour 8. Validating XML Documents

In the future, airplanes will be flown by a dog and a pilot. And the dog's job will be to make sure that if the pilot tries to touch any of the buttons, the dog bites him.

Scott Adams

In the quote, the job of Scott Adams's dog is to prevent human error in piloting an airplane. The idea is that computers will have things enough under control that human pilots will only get in the way. Although the complete removal of human pilots is not too probable in the near future, the prospect of computer-flown airplanes highlights the need for rock solid software systems that are 100% error free. Whether or not you look forward to flying on an airplane piloted entirely by computers (I, for one, do not!), as an XML developer you should make it a huge priority to develop XML documents that are 100% error free. Fortunately, schemas (DTDs and XSDs) make it possible to assess the validity of XML documents. This hour shows you how to use various tools to validate documents against a DTD or XSD.

In this hour, you'll learn

  • The ins and outs of document validation

  • The basics of validation tools and how to use them

  • How to assess and repair invalid XML documents




Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
ISBN: 067232797X
EAN: 2147483647
Year: 2005
Pages: 266

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net