Hussein Shafie a ?crit :

> ben wrote:
> >
> > I don't understand how DTD is loaded and validity check is performed
> > by XXE (20p2). I try to use a customized DocBook DTD, but it doesn't
> > work. Here are the steps I follow: [...]
>
> Please retry opening the XML file after clearing or disabling the XML
> Schema/DTD cache (Menu Options|Options, Open tab).
>
> You probably experimented with several successive versions of dbxxe.dtd
> and the XML-Schema/DTD cache ``captured'' the first one.

Thanks! That was exactly the problem, and now it works fine.

Now that it works,  if someone is interested, I attach the config I use to
be able to have entities not expanded in the DocBook files. In fact, the
customization only adds the <entity> element to the DTD and to the CSS.

The script config/docbook/tools/dbxxe.pl must be used on the the file to
open by XXE, to convert all the entities to some <entity> elements. When
the file is updated with XXE and saved, the script can be used to convert
from <entity> elements to actual entities to have a real docbook result.

Thanks again,

BG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dot_xxe2_config.tar.gz
Type: application/x-gzip
Size: 1795 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030114/c9313acb/attachment.gz
 

Reply via email to