Woods, Christopher wrote:
> 
> I followed the instructions found here to create a configuration file:
> 
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/dtd_example.html
> 
> The CSS does not appear in the VIEW menu and the document is displayed
> in tree view.  
> 
> The catalog file is as follows:
> 
> <?xml version="1.0" ?>
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
>          prefer="public">
>   <public publicId="-//XMLmind//DTD keo//EN"
>           uri="keo.dtd"/>
> </catalog>
> 
> The configuration file is as follows:
> 
> <?xml version='1.0' encoding='utf-8'?>
> <configuration name="keo"
>   xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
>   xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>
>   <detect>
>     <dtdPublicId>-//XMLmind//DTD keo//EN</dtdPublicId>
>   </detect>
> 
>   <css name="keo" location="keo.css" />
> 
>   <template name="keo" location="keo.xml" />
> </configuration>
> 
> The xml and dtd are valid.  What should I look for next?  Thanks very
> much.

My guess is that XXE has not detected your document as being a keo one.

You can check this as follows:

--> Open a keo document, say C:\tmp\test.xml. Move your mouse over the
tab of the document view. After a couple of seconds, you should see a
tooltip looking like this: "C:\tmp\test.xml : keo". If you just see
"C:\tmp\test.xml", then XXE is not associating your configuration to
C:\tmp\test.xml.

If this is the case (otherwise send us another email describing what you
see -- preferably with a zip containing the whole configuration), I see
two reasons for that:

[1] C:\tmp\test.xml does not contain:
<!DOCTYPE yyy PUBLIC "-//XMLmind//DTD keo//EN" "zzz/keo.dtd">

[2] OR you didn't create the directory containing the keo configuration
(i.e. the directory containing keo.xxe, keo.css, keo.dtd, keo.xml) in
the right place.

Such directory should be found under:
XXE_install_dir/addon/
OR under:
XXE_user_preferences_dir/addon/

This one is easy to check: keo.xxe should be listed in the dialog box
displayed by Help|About XMLmind XML Editor.

In all cases, you probably did a little mistake. We really doubt that
you have found a  bug in XXE.

Reply via email to