Chapter 17. Validating XML Documents against XML Schemas

In Chapter 16, Managing XML Schemas, you learned how to register XML Schemas in DB2’s XML Schema Repository (XSR). In this chapter we explain the validation of XML documents using these XML Schemas. Remember that document validation is optional in DB2 and that there is no penalty in terms of DB2 performance or functionality if you don’t use an XML Schema. Document validation is also called schema validation because an XML Schema is used to validate XML documents. DB2 offers a variety of features to manage the validation of XML documents. You can

• Validate individual documents when you insert or update them (sections 17.1 and 17.2)

• Validate documents without rejecting invalid ...

Get DB2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.