Changes

Jump to navigation Jump to search
10 bytes removed ,  13:38, 5 March 2019
==Usage==
BaseX relies on the Apache-maintained [http://xml.apache.org/commons XML Commons Resolver]. The {{Code|''xml-resolver-1.2.jar}} '' library is included in the full distributions of BaseX. If the resolver is not found in the classpath, and if Java 8 is used, Java’s built-in resolver will be applied (via <code>com.sun.org.apache.xml.internal.resolver.*</code>).
To enable entity resolving you have to provide a valid XML Catalog file, so that the parser knows where to look for mirrored DTDs.
This rewrites all systemIds starting with: <code><nowiki>http://www.w3.org/TR/xhtml1/DTD/</nowiki></code> to <code>file:///path/to/dtds/</code>. The XHTML DTD <code>xhtml1-strict.dtd</code> and all its linked resources will now be loaded from the specified path.
The catalog file {{Code|''etc/w3-catalog.xml}} '' in the full distributions can be used out of the box. It defines rewriting for the most popular W3 DTD files.
===GUI Mode===
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu