oXygen has troubles with a DOCTYPE line with relative paths

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jjramsey

oXygen has troubles with a DOCTYPE line with relative paths

Post 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.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
Post Reply