Damaged File Associations on OS X

After upgrading OS X to version 10.4.x / Oxygen XML Developer to version 6.x Oxygen XML Developer is not associated anymore to the file types XML, XSL, XSD, etc. This worked in the previous version of Oxygen XML Developer. How can I create the file associations again?

The upgrade damaged the file associations in the LaunchService Database on your OS X machine. Please rebuild the LaunchService Database with the following procedure. This will reset all file associations and will rescan the entire file system searching for applications that declare file associations and collecting them in a database used by Finder.

  1. Find all the Oxygen XML Developer installations on your hard drive.
  2. Delete them by dragging them to the Trash.
  3. Clear the Trash.
  4. Unpack the Oxygen XML Developer installation kit on your desktop.
  5. Copy the contents of the archive into the folder / Applications / Oxygen.
  6. Run the following command in a Terminal:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
  7. Restart Finder with the following command:
    killall Finder
  8. Create a XML or XSD file on your desktop.
    It should take the Oxygen XML Developer icon.
  9. Double click the file.
  10. Accepting the confirmation dialog.
Oxygen XML Developer will start up and the file associations work correctly.