Image

CHAPTER

5

Validating XML

XML parsing checks the XML syntax to ensure XML well-formedness. XML validation validates XML documents against XML Schema or DTD (Document Type Definition) to ensure that XML is conformed to the data model defined by XML Schema or DTD. The defined XML data model includes the XML elements and attributes, their data types, content restrictions, and the document structure.

In this chapter, we begin by reviewing some basic concepts of DTD and XML Schema (http://www.w3.org/2001/XMLSchema). We then learn how to perform XML validations in Oracle XML DB and Oracle XDK Java. We conclude by exploring how to use XML Schema and ...

Get Oracle Database 11g Building Oracle XML DB Applications 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.