Catalog Resolver
Revision as of 11:18, 24 January 2011 by 134.34.18.245 (talk)
Overview
XML documents often rely on Document Type Definitions (DTD). While parsing a document with BaseX elements and entities can be checked for validity with respect to that particular DTD.
XHTML for example defines its doctype via the following line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Fetching the xhtml1-strict.dtd
obviously involves some network traffic. When dealing with single files this may seem tolerable, but
importing large collections might benefit from caching these resources locally.