Changeset 712

Show
Ignore:
Timestamp:
06/24/07 18:41:06 (3 years ago)
Author:
gregor
Message:
  • additional attempts at fixing problems with widows drive letters in xerces
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/gregor/Moonlight-main/src/ml/core/preferences/Preferences.java

    r668 r712  
    6767         
    6868        public void loadFromFile(String filename) throws SAXException, IOException, ParserConfigurationException { 
    69                 Document preferencesDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(filename); 
     69                Document preferencesDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(filename).toURI().toString()); 
    7070 
    7171                Element root = preferencesDoc.getDocumentElement(); 
  • branches/gregor/Moonlight-main/src/ml/ui/core/propertysheet/PropertySheetDefinition.java

    r668 r712  
    5656                        } 
    5757                        try { 
    58                                 propertySheetDefinitions.add(new PropertySheetDefinition(file.getAbsolutePath())); 
     58                                propertySheetDefinitions.add(new PropertySheetDefinition(file.toURI().toString())); 
    5959                        } catch (Exception e) { 
    6060                                // catch errors here to make sure that the offending definition is simply skipped over