Cross posting because I posted it on the users by mistake...
--- Begin Message ---
This was posted on the old dbXML list...

Diego Zamboni wrote:
> But when I try to add one of my real documents, I get the following
> error (the document is printed as part of the error):
>
> % dbxml ad -c /db -f
/home/zamboni/ESP/sensors/XML/components/CVE-2000-0003.xml -n bla
> Reading...
> DEBUG> Error Converting Buffer '<?xml version="1.0" standalone="no"?>
> <!DOCTYPE ESP-Component SYSTEM "ESP-Component.dtd">

The reason why it's failing is because ESP-Component.dtd is referenced
as a relative path.  As dbXML is probably running in a separate
directory from your actual files, when the Document gets into the
server, it's unable to resolve the DTD name.  One way to address this
would be to change the reference to a globally available URI (via HTTP
or a file URI accessible via NFS).

dbXML itself will canonicalize the document and strip the DTD reference
from it when it finally gets into the system, but it needs to be able to

resolve the DTD first in order to parse the Document.




--- End Message ---

Reply via email to