Menu

#8 Preferences not maintained on Linux

open
nobody
6
2002-11-04
2002-10-28
No

We are using the new XML preferences format in Java 1.4, however
there seems to be a problem on the Linux platform. The preferences
are being saved with the wrong document type. This results in an
error when first loading the preferences (reported at the console)

The application will still run with the default prefernces. We are also
able to change the preferences for a single session. However, these
preferences do not persist over multiple sessions.

This has not been tested under windows yet, an a windows user
please test this and comment here.

Discussion

  • Ross Gardler

    Ross Gardler - 2002-10-28

    Logged In: YES
    user_id=88713

    leverm reports this as working OK on windows XP, so it would appear to
    be a Linux problem.

     
  • Ross Gardler

    Ross Gardler - 2002-11-04
    • priority: 7 --> 6
    • summary: Preference file format incorrect --> Preferences not maintained on Linux
     
  • Ross Gardler

    Ross Gardler - 2002-11-04

    Logged In: YES
    user_id=88713

    I cannot find the cause of this bug. The files are being written by the
    java application OK but they are being written with a doctype of:

    <!DOCTYPE map SYSTEM
    'http://java.sun.com/dtd/preferences.dtd'>

    The java API states it should be

    <!DOCTYPE preferences SYSTEM
    'http://java.sun.com/dtd/preferences.dtd'>

    Everything works fine on WIndows so it must be a virtual machine issue.
    Until Sun release a working version or I discover a workaround I'm afraid
    we are stuck with this (most of the downloads have been windows so
    hopefully this is only going to annoy myself and one or two others)

     
  • Ross Gardler

    Ross Gardler - 2002-11-04
    • assigned_to: rgardler --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB