I am writing some code using the NotesDOMParser in Lotusscript to import an uploaded xml file from the web and turn it into a document.
I detach the file into a directory on the server where the scheduled agent will run.
The xml file doctype refers to a DTD file which I have in the same directory as where the xml files go… The doctype line is
and the filename exactly matches the DTD file.
However when parser.process is run it errors saying it cannot open the DTD file. We can get around this by hard-coding the dtd file path into the xml file. But these xml files will be coming from an external source and we cannot ask them to hard-code it this way.
Does anyone know where the parser is looking for the dtd file when the dtd is not hard-coded with a file path?
I need to complete this work ready for a live test on monday so any help is really appreciated
Stephen