Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/08 14:17:26 (17 years ago)
Author:
gkronber
Message:

bug fixes to make loading of OSGA-TSP work. Some non-working code remains

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.Operators.Programmable/ProgrammableOperator.cs

    r121 r122  
    211211    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
    212212      base.Populate(reader, restoredObjects);
    213       reader.ReadStartElement("Description");
     213      reader.ReadToDescendant("Description");
    214214      myDescription = reader.ReadString();
    215215      reader.ReadEndElement();
    216       reader.ReadStartElement("Code");
     216      reader.ReadToDescendant("Code");
    217217      myCode = reader.ReadString();
    218218      reader.ReadEndElement();
Note: See TracChangeset for help on using the changeset viewer.