Hi. I have a question about what I need to do
concerning doctype definitions in an XML file. The DTD that is specified
in the doctype doesn’t contain a full URI. When I execute my
program it looks for the DTD file in the root folder of my program, however it
isn’t there and I can’t manually put it there. It is not a
problem for my application to not find the DTD as the XMLs that specify the Doctype
with that DTD are automatically generated by another program and I am not
allowed to edit them and I have no need to use the DTD itself. All I want
to do is shove the XML file into the XML database without complaining about the
doctype. Does anyone know how to do this? If I delete the doctype
declaration the file is stored fine. I haven’t found anything on Google
or on the mailing lists that was worthwhile, but perhaps I have been searching
with the wrong terms. Here is my sample XML <?xml version="1.0"?> <!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA
Composite//EN" "ditabase.dtd"> <!-- Created with XMetaL 4.6 (http://www.xmetal.com)
--> <dita> <title>Concept
Topic 1</title> <shortdesc>Concept
topic with text and tables.</shortdesc> <conbody> </conbody> </concept> </dita> ~Chris |