Hi,

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:

* I've written an XML file with such a header:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE book PUBLIC "-//OASIS//XXE//DTD DocBook XML V4.1.2//EN"
"http://www.perso/db/xxe.dtd";[

* The customized DTD dbxxe.dtd is put in the <xxe>/config/docbook/dtd/
directory.

* I've added to the XML catalog file <xxe>/config/catalog.xml these
lines :

  <public publicId="-//OASIS//XXE//DTD DocBook XML V4.1.2//EN"
          uri="docbook/dtd/dbxxe.dtd"/>

When I open XXE and load the XML file, the DocBook configuration is used
(since it contains book element, isn't it ?) but the file is said
invalid. The errors show that in fact dbxxe.dtd is not used. Of course,
I've checked with another tool (xmllint) that the file is actually
valid.

Even if the way I did the customisations is not clean, since I patch and
add files directly in the XXE environnment, can someone give me a clue
to make it work?

Thanks,

BG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030113/3c4690d0/attachment.htm
 

Reply via email to