Ignore:
Timestamp:
2009-01-14T13:29:05+13:00 (15 years ago)
Author:
ak19
Message:

Prepended the xml declaration to the Options tag, so that the XMLTools.java parser does not complain about the missing xml declaration and crash GLI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java

    r18370 r18376  
    101101    // set up the script options
    102102    // we have empty initial values
    103     String dom_string = "<Options/>";
     103    String dom_string = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Options/>";
    104104    Document doc = XMLTools.parseXML(new StringReader(dom_string));
    105105    options = new ScriptOptions(doc.getDocumentElement(), "explode_metadata_database.pl");
Note: See TracChangeset for help on using the changeset viewer.