9

Validation beyond XML Schema

In this chapter we look over the fence of pure structural document validation. Although XML Schema does allow us to define constraints that refer to the content of elements of attributes in the form of simple data types, there are many aspects of semantic integrity that cannot be covered in this way.

The chapter discusses various methods for modeling and implementing advanced semantic constraints, such as cross-field and cross-document constraints. The classical method is to hard-code constraints using imperative programming with programming ...

Get Modeling Business Objects with XML Schema now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.