Page 1 of 1

oXygen has troubles with a DOCTYPE line with relative paths

Posted: Sat Jul 19, 2003 11:30 pm
by jjramsey
This consistently works with oXygen:

Code: Select all


<!DOCTYPE rootElem SYSTEM "file://full/path/to/my.dtd">
This does not:

Code: Select all


<!DOCTYPE rootElem SYSTEM "my.dtd">
<!-- my.dtd is in the same directory as my document -->
However, the same fix that allows the "oxygen" script to accept relative filenames seems to fix this problem.

Posted: Sun Jul 20, 2003 8:52 am
by george
Hi,

Oxygen should work with relative DTDs. Please let me know:
  • the Oxygen version you are running
  • the full path to the dtd
  • the full path to the xml file
Now trying to guess... It may be that you create a file with new and do not save this file. In this case we assing as system ID for the not yet saved file [path/to/working/directory]/untiteldN.xml where [path/to/working/directory/] is the working/current directory as it is seen by the application and if you specify a relative DTD then it will be resolved relative to this system ID. So please make sure you save the file and see if you still get the problem.

Best Regards,
George