You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:19:59 UTC

[jira] Updated: (XERCERJ-235) Preferences will fail

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:19 PM
    Changes:
             Attachment changed from Test.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-235?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-235

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-235
    Summary: Preferences will fail
       Type: Bug

     Status: Resolved
 Resolution: FIXED

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Andreas Schmitz

    Created: Wed, 13 Mar 2002 11:25 PM
    Updated: Mon, 12 Apr 2004 2:19 PM
Environment: Operating System: Linux
Platform: PC

Description:
If I have xercesImpl.jar, xml-apis.jar, xmlParserAPIs.jar and xalan.jar in my
classpath, importing and normal use of previously stored preferences will fail
with the following error message:

13.03.2002 23:10:22 java.util.prefs.FileSystemPreferences$11 run
WARNUNG: Invalid preferences format in
/home/stranger/.java/.userPrefs/cdox/prefs.xml

The original prefs.xml will be renamed to IncorrectFormatPrefs.xml. It has the
following content (for example):

<?xml version="1.0" encoding="UTF-8"?>

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

<map MAP_XML_VERSION="1.0">
  <entry key="language" value="eng" />
</map>

I tested it on Debian and SuSE with the 1.4.0 from sun:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)

If I switch over to xerces1 everything goes well. Therefore I think something is
wrong with xerces2 (I might be wrong...).

If you need more information, please let me know, Andreas


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org