Chris Cosentino wrote:
> Just installed the latest version of standard edition, 2.5. It opens the 
> default templates well enough, but when using a document created with a 
> custom DTD it produces a lengthy error message, attached.
> 
> I've added the DTD file to the options > options > schema dialog, but it 
> still doesn't work. The document opens fine in XMetal, Epic, etc.

options > options > schema dialog can be used to add an XML catalog 
file, *not a DTD file*.

In XXE, an XML catalog file is used to map the public ID of a DTD to the 
location where to find the DTD file.

XML catalog example:

---
<?xml version="1.0" ?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
          prefer="public">

   <public publicId="-//OASIS//DTD DocBook XML V4.2//EN"
           uri="docbook/dtd/V4.2/docbookx.dtd"/>

   <public publicId="-//W3C//DTD XHTML 1.0 Strict//EN"
           uri="xhtml/dtd/xhtml1-strict.dtd"/>

   <public publicId="-//W3C//DTD XHTML 1.0 Transitional//EN"
           uri="xhtml/dtd/xhtml1-transitional.dtd"/>

   <public publicId="-//W3C//DTD MathML 2.0//EN"
           uri="common/dtd/mathml2/mathml2.dtd"/>

   <public publicId="-//W3C//DTD SVG 1.1//EN"
           uri="common/dtd/svg11/svg11.dtd"/>
</catalog>
---

Therefore the first thing to do is to remove the entry you have added to 
the list of catalogs. To do this, simply click on the Reset button.

XXE *cannot* be configured using dialog boxes in order to make it use a 
custom DTD.

You really need to read the Power User's Guide ( 
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/index.html ) 
and after reading at least first chapter, you may have to write a 
configuration file for your custom DTD.


Reply via email to