Document Type Definitions (DTDs)

Because XML is flexible and can be applied to a broad set of data and document-processing applications, the XML parsers are equally generic in their functionality. An XML parser ensures the XML document is correct in its structure and syntax. But this leads to another problem for applications receiving specific data in XML format: Without a stricter application-specific validation of XML documents, the application will be open to receiving and processing unknown and wrong XML documents. Applications capable of processing XML documents should define specific rules in terms of the structure of the XML document, the set of elements applicable to a specific XML document, the attributes attached to an element, and ...

Get Java™ Connector Architecture: Building Custom Connectors and Adapters 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.